Find grounds 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)
+--- Thread: Find grounds coordinate (
/showthread.php?tid=430887)
Find grounds coordinate -
dusk - 15.04.2013
Is there a function or something to find the ground coordinates? I want to create an object at players position, but for it not be above the ground. Something like "SetPlayerPosFindZ" just for items.
Re: Find grounds coordinate -
KingHual - 15.04.2013
https://sampforum.blast.hk/showthread.php?tid=120013
Use the cute search button next time.
Re: Find grounds coordinate -
dusk - 15.04.2013
I did use it! I just was hoping to find a simple function for it.. Not a huge plugin. Still thanks tho!
Re: Find grounds coordinate -
Pottus - 15.04.2013
You'll never know the correct offsets unless you make an array of all the SAMP objects getting the Z-Height is pretty easy with Map Andreas or just using the players Z position (Subtract 1.0 for the ground).
Re: Find grounds coordinate -
dusk - 15.04.2013
Subtract 1,eh? What if I'm in the air?
Yea,i'll try using the plugin
Re: Find grounds coordinate -
DaTa[X] - 15.04.2013
Quote:
Originally Posted by dusk
I did use it! I just was hoping to find a simple function for it.. Not a huge plugin. Still thanks tho!
|
the only way to find ground coords is to use Mapandreas plugin or any other plugins
Re: Find grounds coordinate -
Pottus - 15.04.2013
Mapandreas is still only half the equation, you need to know the offsets of every object otherwise this idea is such a waste of time.