thread 'KEYBINDER'
repeat
wait 0
until SAMP.Available()
WHILE TRUE
WAIT 0
if
31@ == 1
then
0AF9: samp say_msg "/pizza"
wait 65000
0AF9: samp say_msg "/rcc"
return 0
end
if and
0AB0: key_pressed 123
8B21: not samp is_chat_opened
then
if
31@ == 0
then
31@ = 1
018C: play_sound 1083 at 0.0 0.0 0.0
else
31@ = 0
018C: play_sound 1084 at 0.0 0.0 0.0
end
end
END
Ok, what i want?:
The loop is working well, if i'm pressing 'F12' it is starting: /pizza, after 65 seconds /rcc and again /pizza!BUT!!!/rcc is not working, it is giving me : 'Unknown command'(in-game), i have the cleo with 'rcc' command, and it is working well if i'm writing /rcc.
Explain:
F12 => /pizza, after 65 seconds, /rcc(not working), /pizza
Solve(but it's boring):
F12 => /pizza, after 65 seconds, /rcc(not working), /pizza, /rcc(i'm wroting it manual, working), after 65 seconds, /rcc(not working), /pizza, after 65 seconds.... again and again...
So what i want?
If i'm pressing F12 to do : /pizza, wait 65 seconds, /rcc(to work), /pizza. Again and again....
If u don't understand, pm me.
repeat
wait 0
until SAMP.Available()
WHILE TRUE
WAIT 0
if
31@ == 1
then
0AF9: samp say_msg "/pizza"
wait 65000
0AF9: samp say_msg "/rcc"
return 0
end
if and
0AB0: key_pressed 123
8B21: not samp is_chat_opened
then
if
31@ == 0
then
31@ = 1
018C: play_sound 1083 at 0.0 0.0 0.0
else
31@ = 0
018C: play_sound 1084 at 0.0 0.0 0.0
end
end
END
Ok, what i want?:
The loop is working well, if i'm pressing 'F12' it is starting: /pizza, after 65 seconds /rcc and again /pizza!BUT!!!/rcc is not working, it is giving me : 'Unknown command'(in-game), i have the cleo with 'rcc' command, and it is working well if i'm writing /rcc.
Explain:
F12 => /pizza, after 65 seconds, /rcc(not working), /pizza
Solve(but it's boring):
F12 => /pizza, after 65 seconds, /rcc(not working), /pizza, /rcc(i'm wroting it manual, working), after 65 seconds, /rcc(not working), /pizza, after 65 seconds.... again and again...
So what i want?
If i'm pressing F12 to do : /pizza, wait 65 seconds, /rcc(to work), /pizza. Again and again....
If u don't understand, pm me.