CLEO Help Need help

CLEO related
Status
Not open for further replies.

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
3
{$CLEO}

0000: NOP

0B34: samp register_client_command "bike" to_label @enable
31@ = false

:eek:n
wait 0
if
31@ == true
jf @off
08C6: set_actor $PLAYER_ACTOR stay_on_bike 1
SAMP.CmdRet
goto @on

:eek:ff
wait 0
if
31@ == false
jf @on
08C6: set_actor $PLAYER_ACTOR stay_on_bike 0
SAMP.CmdRet
goto @off

:enable
wait 0
if
31@ == false
jf @disable
31@ = true
print "Activated" 2000
SAMP.CmdRet
goto @on

:disable
wait 0
if
31@ == true
jf @enable
31@ = false
print "Deactivated" 2000
SAMP.CmdRet
goto @on
 

Attachments

  • stay_on_bike.rar
    6.6 KB · Views: 38
Status
Not open for further replies.
Top