Find grounds coordinate
#1

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.
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=120013

Use the cute search button next time.
Reply
#3

I did use it! I just was hoping to find a simple function for it.. Not a huge plugin. Still thanks tho!
Reply
#4

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).
Reply
#5

Subtract 1,eh? What if I'm in the air?

Yea,i'll try using the plugin
Reply
#6

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
Reply
#7

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)