Difference between revisions of "02B9"

From GTAMods Wiki
Jump to navigation Jump to search
(Related Opcodes)
(why include opcodes that are not affected by or that do not affect this opcode?)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 02B9=1, %1d%
+
| ini        = 02B9=1,%1d%
| description = Deactivates a garage.
+
| description = Deactivates 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 deactivates 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 reactivated using opcode [[0299]].
  
==Sanny Builder Example==
+
==Sanny Builder example==
  
 
<source lang="scm">02B9: deactivate_garage 'VECMOD'</source>
 
<source lang="scm">02B9: deactivate_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>
 
* [[0299]] - Activates 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, deactivate
+
garage, deactivate, disable

Revision as of 15:19, 19 December 2010

{{{games}}}


Description
Deactivates 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 reactivated using opcode 0299.

Sanny Builder example

02B9: deactivate_garage 'VECMOD'

Keywords

garage, deactivate, disable