Batuhan337tr
Active member
I coded a CLEO script, but what I want is to send a packet to the server every 1 second. However, when I use a single command, the entire for loop value is sent to the server as a packet.
like this:

like this:

Code:
{$CLEO .cs}
0000:
REPEAT
WAIT 100
UNTIL 0AFA: SAMP_IS_READY
0B34: "tdclick" @textdraw
WHILE TRUE
WAIT 0
END
:textdraw
WAIT 1000 MS
0B35: 0@
for 1@ = 0 to 10000
0BCA: samp send_click_textdraw 1@
0AF8: "Process ID = %d" -1 1@
end
0B43: