CLEO HELP Help

ItsRobinson

Well-Known Member
Joined
Nov 16, 2017
Messages
104
Likes
19
Points
33
#4

kazkaS

Well-Known Member
Joined
Mar 30, 2018
Messages
165
Likes
18
Points
33
Location
Lithuania
#7
And how should I make it to do just once and then to turn off?
On key:
Code:
{$CLEO .cs}
0000: NOP
REPEAT
Wait 0
Until 0AFA: is_samp_structures_available

While True
Wait 0
If and
8B21: not samp is_chat_opened
8B4C: not samp is_dialog_active -1
0AB0: key_pressed 35 // 3
Then
00A0: store_actor $PLAYER_ACTOR position_to [email protected] [email protected] [email protected]
000F: [email protected] -= 10.0
00A1: put_actor $PLAYER_ACTOR at [email protected] [email protected] [email protected]
wait 105
end
END
On cmd
Code:
{$CLEO .cs}
0000: NOP
REPEAT
Wait 0
Until 0AFA: is_samp_structures_available
0B34: "down" @DOWN

While True
Wait 0
END

:DOWN
00A0: store_actor $PLAYER_ACTOR position_to [email protected] [email protected] [email protected]
000F: [email protected] -= 10.0
00A1: put_actor $PLAYER_ACTOR at [email protected] [email protected] [email protected]
CmdRet
 
Top