GetPlayerPos - 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)
+--- Thread: GetPlayerPos (
/showthread.php?tid=635930)
GetPlayerPos -
Bussyman - 16.06.2017
Hi,
GetPlayerPos is always get normal coordinates? is there situation like there can by not normal numbers?
Re: GetPlayerPos -
Toroi - 16.06.2017
They can come in velociraptor measurement aswell.
Keep in mind that coordinates and positions are floats, hence you have to use float tags and float specifiers when using them.
Re: GetPlayerPos -
CheezIt - 16.06.2017
Obviously. However:
Quote:
Originally Posted by Wiki
This function is known to return unreliable values when used in OnPlayerDisconnect and OnPlayerRequestClass. This is because the player is not spawned.
|