SA-MP Forums Archive
coordinate - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: coordinate (/showthread.php?tid=254580)



coordinate - Gh0sT_ - 11.05.2011

Hi,

I have a question about Z coordinate.

So, if I do:

new Float: Position[ 3 ];
GetPlayerPos( playerid, Position[ 0 ], Position[ 1 ], Postion[ 2 ] );
SetPlayerPos( playerid, Position[ 0 ], Position[ 1 ], Position[ 2 ] - 5 );

The player will be under the ground?


Re: coordinate - Pooh7 - 11.05.2011

If player isn't in the air, he will be under the ground.