[HELP] How to send client commands with CLEO

batonkal

Active Member
Joined
May 6, 2017
Messages
34
Likes
0
Points
11
5
#1
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
 
Top