[HELP] How to send client commands with CLEO

Status
Not open for further replies.

batonkal

Well-Known Member
Joined
May 6, 2017
Messages
75
Likes
8
Points
23
Location
Bosnia and Herzegovina
#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
 
Status
Not open for further replies.
Top