Jump to content

Next question


Piorun

Recommended Posts

Posted

and if you don't care about the z-distance (when on ground, it usually doesn't matter), it's faster if you just use x and y and getDistanceBetweenPoints2D

Posted

i think (and hope) he already found out this by himself

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

Posted

What makes you think that? If he couldn't find the 3D function from the wiki, why do you think he had been able to find the 2D function?

Also, I didn't post just to be a smartass, but in case someone else actually does use search and then stumbles here in this thread, where he can read of both 3d and 2d distance calculation. Your post however (and I have to admit, this mine aswell) on the contrary are quite useless.

Posted
What makes you think that? If he couldn't find the 3D function from the wiki, why do you think he had been able to find the 2D function?

Also, I didn't post just to be a smartass, but in case someone else actually does use search and then stumbles here in this thread, where he can read of both 3d and 2d distance calculation. Your post however (and I have to admit, this mine aswell) on the contrary are quite useless.

well, i dont want to flame with your, looks like you want it..

anyway, theres "See Also" on wiki, and this is where i looked after i saw on forums getDistanceBetweenPoints3D for the first time, but i needed to ignore height..

EOT

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...