Z position to bottom of Player?
#1

Hi all,

Go ahead, bitch at me for not searching this, but I didn't really know what to search for, and in an attempt to save me time, I will ask you people if anyone knows it :P

I wanna create an object on the ground, at the player's feet. So, what is the Z position to the player's feet? (I know itll change per object to work properly)

Help would be appreciated.

EDIT: Shit, I just realized I put this in the wrong section LOL..Apologies.
Reply
#2

pawn Код:
new Float:x, Float:y, Float:z;

GetPlayerPos(playerid, x, y, z);

z -= 0.7;

// Then use z accordingly.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)