Difference between revisions of "0299"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 0299=1, %1d%
+
| ini        = 0299=1,%1d%
 
| description = Activates a garage.
 
| description = Activates a garage.
| p1          = Garage name (Short String)  
+
| p1          = Garage handle (variable in GTA III, short string in San Andreas)
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
| game        = [[GTA 3]], [[San Andreas]]
 
}}
 
}}
This opcode activates a garage.
+
This opcode deactivates a garage, which is created by opcode [[0219]] in GTA III and by the [[GRGE]] section of the [[IPL]] in San Andreas. Garages can be deactivated using opcode [[02B9]].
  
==Sanny Builder Example==
+
==Sanny Builder example==
  
 
<source lang="scm">0299: activate_garage 'VECMOD'</source>
 
<source lang="scm">0299: activate_garage 'VECMOD'</source>
 
==Related Opcodes==
 
 
* [[0219]] - Creates a garage<br>
 
* [[021B]] - Sets the garage to accept a specific vehicle<br>
 
* [[021C]] - Checks if a vehicle is in the garage<br>
 
* [[02B9]] - Deactivates a garage<br>
 
* [[02FA]] - Changes the type of garage<br>
 
* [[0360]] - Opens a garage door, if there is one<br>
 
* [[0361]] - Closes a garage door, if there is one<br>
 
* [[03B0]] - Checks if a garage's door is opened<br>
 
* [[03B1]] - Checks if a garage's door is closed<br>
 
* [[03BB]] - Sets the garage door to swing open instead of sliding open<br>
 
* [[03DA]] - Disables remote camera control of the player when in a garage<br>
 
* [[057A]] - Sets the maximum amount of cars it can store<br>
 
* [[0A14]] - Sets a paint shop type of garage to disable
 
 
 
==See Also==
 
 
* [[Garage]]
 
  
 
==Keywords==
 
==Keywords==
garage, activate
+
garage, activate, enable

Revision as of 15:21, 19 December 2010

{{{games}}}


Description
Activates a garage.
Syntax
{{{syntax1}}}
Parameter

This opcode deactivates a garage, which is created by opcode 0219 in GTA III and by the GRGE section of the IPL in San Andreas. Garages can be deactivated using opcode 02B9.

Sanny Builder example

0299: activate_garage 'VECMOD'

Keywords

garage, activate, enable