CLEO Help help

CLEO related
Status
Not open for further replies.

faggylie

Active member
Joined
Nov 29, 2014
Messages
38
Reaction score
0
Hello,

How can I make a cleo that will set the vehicle I am in on fire? Thanks.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
[member=30245]faggylie[/member]


Code:
{$CLEO}

thread "setitonfire" // creates a process thread named setitonfire :p

while true
wait 0
    if and
            0AB0: 89 // checks if player pressed Y on keyboard or not
            00DF: $PLAYER_ACTOR  // and checks if the player is driving or not
    then
            00D9: 0@ = $PLAYER_ACTOR // fetches car info  and stores it in a local variable 0@
            0224: 0@ 0 // set car health to 0, hood will catch fire, followed by explosion
    end
end
 
Status
Not open for further replies.
Top