057A

From GTAMods Wiki
Revision as of 20:30, 24 August 2011 by Spaceeinstein (talk | contribs) (updating page)
Jump to navigation Jump to search

Vice City


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 size is 4, since all save garages only allow a maximum of four vehicles. Setting the value below 4 will prevent the garage door from opening for additional vehicles and will display GXT string GA_21, but the garage door can be forced open and can still save up to four vehicles without any problem. Any values outside the range will revert to the default value of 4.

Keywords

set, garage, max, cars, vehicles