SA-MP Forums Archive
Getting he altitude - 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: Getting he altitude (/showthread.php?tid=290796)



Getting he altitude - Luis- - 17.10.2011

Hi, I am wanting to know how I can get the altitude of a plane I am in, how can I do this?


Re: Getting he altitude - Scarred - 17.10.2011

Just use the Z coord.


Re: Getting he altitude - Luis- - 17.10.2011

Huh? Could you explain it a little better please.


Re: Getting he altitude - Haydz - 17.10.2011

He means using the z-axis(height) with GetPlayerPos.

https://sampwiki.blast.hk/wiki/Function:GetPlayerPos