CLEO Help [HELP] How to send client commands with CLEO

CLEO related
Status
Not open for further replies.

batonkal

Active member
Joined
May 6, 2017
Messages
100
Reaction score
16
Location
Bosnia and Herzegovina
So I want to send client commands like /fpslimit and such.

here is my code
Code:
{$CLEO .cs}
0000: NOP
thread "swimming"

:MAIN
wait 50
if
0965:   actor $PLAYER_ACTOR swimming
then
    0AF9: samp say_msg "/fpslimit 20"
    
else
    jump @MAIN
wait 1000 ms
end


:SWIMMING
wait 50
if
0965:   actor $PLAYER_ACTOR swimming
then
jump @SWIMMING
else
    jump @NOTSWM
end

:NOTSWM
0AF9: samp say_msg "/fpslimit 90"
wait 1000 ms
jump @MAIN
 
Status
Not open for further replies.
Top