SA-MP Forums Archive
Get the ground height under the player ? - 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: Get the ground height under the player ? (/showthread.php?tid=507873)



Get the ground height under the player ? - EpicDutchie - 19.04.2014

Hello, I have a question.

In my script I use a resupply helicopter that brings in crates (Helicopter is flown by a player). Now my question. X and Y are the same for the airdrop, straight under the helicopter. But the Z is different every time. Is there a way to get the Z of the ground under an object or from where the object was created ?

I found this topic: https://sampforum.blast.hk/showthread.php?tid=273263
Problem solved.