CLEO Help I need a little bit of help! Just a little bit.

CLEO related
Status
Not open for further replies.

noobish

Active member
Joined
Feb 16, 2014
Messages
120
Reaction score
0
Hello,

So this code basically does eject you from your vehicle fast. But I see it goes through the roof of the vehicle. Is it possible to make it exit fast from the vehicle driver seat door instead of roof of the vehicle? Thanks

Code:
{$CLEO}

thread "instant-eject"

while true
wait 50

        if and
                00DF: $PLAYER_ACTOR
                not SAMP.ChatInputOpened()
                0AB0: 69
        then
                00A0: $PLAYER_ACTOR 4@ 5@ 6@
                0362: $PLAYER_ACTOR 4@ 5@ 6@
        end
end                

        

        
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,116
Solutions
5
Reaction score
882
Location
Lithuania
Maybe you can try use this.

[shcode=cpp]
0393: actor $PLAYER_ACTOR perform_animation "CAR_OPEN_LHS" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_OPEN_RHS" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_GETINL_LHS" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_GETINL_RHS" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_GETIN_LHS" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_GETIN_RHS" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_CLOSEDOORL_LHS" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_CLOSEDOORL_RHS" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_CLOSEDOOR_LHS" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_CLOSEDOOR_RHS" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_ROLLDOOR" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_ROLLDOORLO" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_GETOUTL_LHS" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_GETOUTL_RHS" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_GETOUT_LHS" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_GETOUT_RHS" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_CLOSE_LHS" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "CAR_CLOSE_RHS" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "DOOR_LHINGE_O" at 16.0 times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "DOOR_RHINGE_O" at 16.0 times_normal_rate
[/shcode]
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
You can also put yourself near the door,

[shcode=cpp]
04C4: store_coords_to 4@ 5@ 6@ from_actor $PLAYER_ACTOR with_offset -1.0 0.0 0.0
0362: $PLAYER_ACTOR 4@ 5@ 6@
[/shcode]
 

noobish

Active member
Joined
Feb 16, 2014
Messages
120
Reaction score
0
springfield said:
You can also put yourself near the door,

[shcode=cpp]
04C4: store_coords_to 4@ 5@ 6@ from_actor $PLAYER_ACTOR with_offset -1.0 0.0 0.0
0362: $PLAYER_ACTOR 4@ 5@ 6@
[/shcode]

Man thanks bro, you're a god lol
 
Status
Not open for further replies.
Top