Difference between revisions of "057A"
Jump to navigation
Jump to search
(updating page) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{Icon|VC}} | + | {{OpCode |
− | + | | games = {{Icon|VC}} | |
− | + | | command = SET_MAXIMUM_NUMBER_OF_CARS_IN_GARAGE | |
− | + | | description = Sets the maximum number of vehicles for a save [[garage]] to open | |
− | + | | syntax1 = 057A: set_garage [''garage handle''] max_cars_to [''int''] | |
− | + | | p1t = [''garage handle''] | |
− | + | | p1d = The [[Garage#Vice City 2|handle of the garage]] | |
− | + | | p2t = [''int''] | |
− | + | | p2d = Range from 0 to 4 | |
− | + | }} | |
− | |||
− | This opcode sets the maximum number of vehicles for a save garage to open. Without this opcode, the default | + | 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 [[Text#Help message|help message]] with [[GXT]] key <code>GA_21</code> 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 == | == Keywords == | ||
− | set, garage, max, cars, vehicles | + | set, garage, max, car, cars, vehicle, vehicles |
Latest revision as of 16:37, 14 February 2016
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