Jump to content

MTA SA default unit


benadzs

Recommended Posts

Posted

Hi!

I want get the distance between 2 points.

I get a number, but i don't know what is the unit.

Example: getDistanceBetweenPoints2D( 0, 0, 1, 1) is return with 1,4.

The 1,4 is yard? Or what?

  • Moderators
Posted
5 minutes ago, St.Borsa said:

What is the maximum length and width of SA map in meters? Thx.

6000x6000

https://wiki.multitheftauto.com/wiki/GetPlayerMapBoundingBox

  • Like 2

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

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