benadzs Posted February 8, 2019 Posted February 8, 2019 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?
Jusonex Posted February 8, 2019 Posted February 8, 2019 GTA uses the metric system, so a unit is precisely 1 meter. You can find more information here: https://gta.fandom.com/wiki/Unit#GTA_III.2C_GTA_Vice_City_and_GTA_San_Andreas 1
St.Borsa Posted February 10, 2019 Posted February 10, 2019 What is the maximum length and width of SA map in meters? Thx.
Moderators IIYAMA Posted February 10, 2019 Moderators Posted February 10, 2019 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 2 Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now