057A

From GTAMods Wiki
Revision as of 16:37, 14 February 2016 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Vice City SET_MAXIMUM_NUMBER_OF_CARS_IN_GARAGE


Description
Sets the maximum number of vehicles for a save garage to open
Syntax
057A: set_garage [garage handle] max_cars_to [int]
Parameter
[garage handle]
The handle of the garage
[int]
Range from 0 to 4

This opcode sets the maximum number of vehicles for a save garage to open. Without this opcode, the default number is 4, since all save garages can only save a maximum of four vehicles. Setting the value below 4 will prevent the garage door from opening for additional vehicles and will display a help message with GXT key GA_21 when attempting, but the garage door can be forced open and can still save up to four vehicles without any problem. Any values above the range will behave like the default value of 4.

Keywords

set, garage, max, car, cars, vehicle, vehicles