CLEO Help Help with cleo mod

CLEO related

ciceuc

Member
Joined
Mar 4, 2020
Messages
17
Reaction score
1
Location
Baia Mare
I did this mod that presses ESC every 15 seconds, but if I put the game in the bar it doesn't work anymore and when I play something else there is a pause in that game not in SAMP

{$CLEO .cs}
0000:

0B34: samp register_client_command "escc" to_label @loop
0@ = false


:WAIT
wait 15000
IF
0@ == TRUE
then
0C72: set_virtual_key 27 down true // X
wait 100
0C72: set_virtual_key 27 down false // X
end
goto @WAIT



:loop
if
0@ == true
then
0@ = false
else
0@ = true
end
0B43: samp cmd_ret

0A93: end_custom_thread
 
Top