Hey y'all.
I'm so new to CLEO scripting and I've been trying to code a key binder but I can't figure out how to make a toggled loop.
Basically what it should do is if I hit Shift+I, it will do:
every 5000ms, and if I hit Shift+I again, it will deactivate the loop.
:yuno:
I'm so new to CLEO scripting and I've been trying to code a key binder but I can't figure out how to make a toggled loop.
Basically what it should do is if I hit Shift+I, it will do:
Code:
0AF9: samp say_msg "/hits"
Code:
:CHECK_HITS
wait 0
if and
0AB0: key_pressed 16
0AB0: key_pressed 73
else_jump @CHECK_HITS
0AF9: samp say_msg "/hits"
wait 5000
jump @CHECK_HITS
:yuno: