CLEO Help blewing car tires

CLEO related
Status
Not open for further replies.

0xB6F5F0

Active member
Joined
Aug 11, 2013
Messages
60
Reaction score
0
my current code
Code:
036A: put_actor $PLAYER_ACTOR in_car 10@ 
0001: wait 10 ms 
04FE: deflate_tire 1 on_car 10@ 
04FE: deflate_tire 2 on_car 10@ 
04FE: deflate_tire 3 on_car 10@ 
04FE: deflate_tire 4 on_car 10@
it didn't work D:
 

David_Holan

Active member
Joined
Apr 28, 2013
Messages
145
Reaction score
0
Code:
{$CLEO}
0000:

:Start
wait 0
if and
    Player.Defined($PLAYER_CHAR)
    Actor.Driving($PLAYER_ACTOR)
    Key.TestCheatString("POPS")
else_jump @Start
0ACD: show_text_highpriority "~POPED~" time 999
03C0: $car = actor $PLAYER_ACTOR car
jump @Looping

:Looping
wait 0
    :Checking
    if
        00DB:   actor $PLAYER_ACTOR in_car $car
    else_jump @Deactive
04FE: deflate_tire 1 on_car $car 
04FE: deflate_tire 2 on_car $car 
04FE: deflate_tire 3 on_car $car 
04FE: deflate_tire 4 on_car $car
if and
Key.TestCheatString("HEAL")
else_jump @Looping
0ACD: show_text_highpriority "~R~TIRES FIXED" time 999
jump @Deactive

:Deactive
wait 0
0A30: repair_car $car
jump @START
 

David_Holan

Active member
Joined
Apr 28, 2013
Messages
145
Reaction score
0
Too lazy? Download attachment and type "pops" to pops your car tires, "heal" to fix your car.
 

Attachments

  • Tires pops.rar
    6.9 KB · Views: 53
Status
Not open for further replies.
Top