Talk:GetGarageSize

From Multi Theft Auto: Wiki
Revision as of 01:36, 29 November 2023 by LordHenry (talk | contribs) (→‎How to use this function: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.