Difference between revisions of "0299"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{OpCode
+
{{Icon|3}} {{Icon|SA}}
| ini        = 0299=1,%1d%
+
<hr />
| description = Activates a garage.
+
'''Description'''
| p1          = Garage handle (variable in GTA III, short string in San Andreas)
+
: Activates a [[garage]]
| game        = [[GTA 3]], [[San Andreas]]
+
'''Syntax'''
}}
+
: {{Icon|3}} 0299: activate_garage [''garage handle'']
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]].
+
: {{Icon|SA}} 0299: activate_garage [''string'']
 +
: {{Icon|SA}} Garage.Activate( [''string''] )
 +
'''Parameter'''
 +
: [''garage handle'']
 +
:: The [[Garage#GTA3_2|handle of the garage]], for GTA III
 +
: [''string'']
 +
:: The [[Garage#San Andreas 2|name of the garage]], for San Andreas
  
==Sanny Builder example==
+
This opcode activates a garage that is deactivated through opcode [[02B9]]. In GTA III for [[Garage#GTA3|garage type 11]], this opcode has an additional function of allowing the door of the garage to open.
  
<source lang="scm">0299: activate_garage 'VECMOD'</source>
+
== Keywords ==
 +
garage, activate, enable
  
==Keywords==
+
== External link ==
garage, activate, enable
+
* {{GTAF|post|107998|1060971605|Detailed post for unique garage behavior in GTA III}}
 +
 
 +
[[Category:OpCodes]]

Revision as of 19:21, 27 December 2011

GTA III San Andreas


Description

Activates a garage

Syntax

GTA III 0299: activate_garage [garage handle]
San Andreas 0299: activate_garage [string]
San Andreas Garage.Activate( [string] )

Parameter

[garage handle]
The handle of the garage, for GTA III
[string]
The name of the garage, for San Andreas

This opcode activates a garage that is deactivated through opcode 02B9. In GTA III for garage type 11, this opcode has an additional function of allowing the door of the garage to open.

Keywords

garage, activate, enable

External link