CLEO Help How to get Z position of a car under a player(not stuck inside)

CLEO related
Status
Not open for further replies.

0x32789

Expert
Joined
May 26, 2014
Messages
849
Reaction score
52
Location
LongForgotten <-> 0x32789
How to get the Z coords under a player for all cars?
can anyone give me a array or.. a code
I'm trying to teleport a player.
thats all
I tried it with my friend, he gets stuck if I put 000B: 13@ -= 0.5 and on -= 1.5 it becomes too down
 

Spix

Well-known member
Joined
Sep 23, 2013
Messages
353
Reaction score
1
0x32789 said:
How to get the Z coords under a player for all cars?
can anyone give me a array or.. a code
I'm trying to teleport a player.
thats all
I tried it with my friend, he gets stuck if I put 000B: 13@ -= 0.5 and on -= 1.5 it becomes too down

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

Try Z offset like -0.5
 

0x32789

Expert
Joined
May 26, 2014
Messages
849
Reaction score
52
Location
LongForgotten <-> 0x32789
You mean that:-
04C4: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_actor 215@ with_offset 1.0 3.0 1.0
then decrease the Z($TEMPVAR_FLOAT_3) offset by 0.5 isn't it?
OR
04C4: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_actor 215@ with_offset 1.0 3.0 -0.5

didnt get your last line
 
Status
Not open for further replies.
Top