Posts: 1,113
Threads: 127
Joined: Jul 2008
Reputation:
0
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.
Posts: 2,286
Threads: 18
Joined: Jun 2010
Posts: 1,113
Threads: 127
Joined: Jul 2008
Reputation:
0
I did use it! I just was hoping to find a simple function for it.. Not a huge plugin. Still thanks tho!
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
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).
Posts: 1,113
Threads: 127
Joined: Jul 2008
Reputation:
0
Subtract 1,eh? What if I'm in the air?
Yea,i'll try using the plugin
Posts: 371
Threads: 8
Joined: Aug 2012
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
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
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.