Relative Z-Position
#1

Hi,
I'm actually not sure, but I heared about a function, which returns the current distance between my Position and the Ground.(The relative height of the Player)

As I have already said, I am not sure.
May you please let me know, if there exists such a function?

Thanks, red13.
Reply
#2

pawn Код:
// An example I use on a random teleport.
new
    Float:randx = float( random( 4000 ) -2000 ), Float:randy = float( random( 4000 ) -2000 );

SetPlayerPosFindZ( playerid, randx, randy, 0.0 );
Reply
#3

Ok, thank you. This was the function, I have seen.
But it does not really solve my problem:
return the Z-Postion.

But nevertheless thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)