so yea when it types /towcar a dialog pops up and i have to select the car, but i want the script also to press enter to close the dialog, i tryed with 0AB0: key_pressed 13 doesnt work any tips?
should i use this instead?
0B47: samp close_current_dialog_with_button 1 //Ok/Enter
and also how do i make it to press arrow down
{$CLEO .cs}
0000:
repeat
wait 50
until 0AFA:
0B34: "activation" @activation
WHILE TRUE
wait 0
if 0@ == 1
then
0AF9: say_msg "/towcar"
0AB0: key_pressed 13
wait 10000
end
END
:activation
if 0@ == 0
then
0AF8: "Spammer on" -1
0@ = 1
else
0AF8: "Spammer off" -1
0@ = 0
end
0B43: samp cmd_re