CLEO Help Car pos running [HELP]

CLEO related
Status
Not open for further replies.

Spix

Well-known member
Joined
Sep 23, 2013
Messages
353
Reaction score
1
Alright, So i made a mod thats teleport a random car to a player, But when the target is running, The car does not hit the player, It spawns behind the player, What can i change in the script to make it spawn at player instead of behind player when target is running?

Sinc Spexx :challenge_accepted:
 

pepeelpubero

Well-known member
Joined
Jan 21, 2014
Messages
433
Reaction score
1
What do you use to store the pos of the other actor? If you are using:

Code:
00A0: store_actor $PLAYER_ACTOR position_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3

Try using this:

Code:
04C4: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_actor 215@ with_offset 1.0 3.0 1.0

And change the X Y Z offset.
 
Status
Not open for further replies.
Top