SA-MP Forums Archive
[HELP]Function - 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: [HELP]Function (/showthread.php?tid=173352)



[HELP]Function - sushihusi - 02.09.2010

Hello!
I need help for my golf script! I am creating it in San Fierro, but the map isn't straight.

Is there a function or a way to get the minimum Z position at an X and Y coordinates?
So i give the X and Y, and it gives me the Z coodinate of the ground.

Is there a way to do that?


Re: [HELP]Function - LarzI - 02.09.2010

You do know that Z is height? X and Y has nothing to do with Z, so no, this isn't possible (unless you have the volume value).


Re: [HELP]Function - sushihusi - 15.09.2010

Quote:
Originally Posted by LarzI
Посмотреть сообщение
You do know that Z is height? X and Y has nothing to do with Z, so no, this isn't possible (unless you have the volume value).
I have found that function in Map Andreas plugin: MapAndreas_FindZ_For2DCoord()