Talk:GetGarageSize: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
Line 2: Line 2:


Most of the values are messed up. I've reported it when these functions were added but I guess I was ignored (as usually) -_-  Try to get size of air plane hangars, they are huge, and you get even greater values then you'd expect. --[[User:50p|50p]] 19:33, 29 July 2009 (UTC)
Most of the values are messed up. I've reported it when these functions were added but I guess I was ignored (as usually) -_-  Try to get size of air plane hangars, they are huge, and you get even greater values then you'd expect. --[[User:50p|50p]] 19:33, 29 July 2009 (UTC)
== How to use this function ==
# Change the variables order to: sizeZ, sizeX, sizeY.
# Use [[getGaragePosition]] to get the garage Z position (3rd value).
# sizeZ = sizeZ - posZ
Done.
You can check issue details [https://github.com/multitheftauto/mtasa-blue/issues/2680 here].

Latest revision as of 01:36, 29 November 2023

The first value returned by this (the X size/width) is way too big... 20 units and beyond. The Y size and height seem fine. --Erorr404 08:38, 29 July 2009 (UTC)

Most of the values are messed up. I've reported it when these functions were added but I guess I was ignored (as usually) -_- Try to get size of air plane hangars, they are huge, and you get even greater values then you'd expect. --50p 19:33, 29 July 2009 (UTC)

How to use this function

  1. Change the variables order to: sizeZ, sizeX, sizeY.
  2. Use getGaragePosition to get the garage Z position (3rd value).
  3. sizeZ = sizeZ - posZ

Done.

You can check issue details here.