hello, i am trying to extract the entered dialog text idk what i doing wrong, because i don't getting the entered text
Code:
{$CLEO .cs}
0000: NOP
REPEAT
wait 0
until SAMP.Available
0B34: "text" @TEXT
while true
wait 0
end
:TEXT
0B3B: samp show_dialog id 1 caption "Type" text "Type something" button_1 "Ok" button_2 "Close" style 1
if 0B3C: samp is_dialog_responded id 1 button 1 list_item 0 input_text 0@
then
chatmsg "You typed: %d" 0@
CmdRet
END