Difference between revisions of "02FA"

From GTAMods Wiki
Jump to navigation Jump to search
m (Replacing page with '<code>02FA=2,%1d% %2d%</code><br> '''Description''': Changes the garage into another type of garage<br> '''Parameter 1''': Garage ID<br> '''Parameter...')
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>02FA=2,%1d% %2d%</code><br>
+
{{OpCode
'''Description''': Changes the garage into another type of garage<br>
+
| games      = {{Icon|t}}
'''Parameter 1''': [[Garage#List_of_Garages|Garage ID]]<br>
+
| command    = CHANGE_GARAGE_TYPE
'''Parameter 2''': [[Garage#Types_of_Garages|Garage type]]<br>
+
| description = Changes the [[garage]]'s type
'''Supports''': GTA3, Vice City, San Andreas<br>
+
| syntax1    = {{Icon|3}} {{Icon|VC}} 02FA: garage [''garage handle''] change_to_type [''int'']
 +
| syntax2    = {{Icon|SA}} 02FA: garage '[''string'']' change_to_type [''int'']
 +
| syntax3    = {{Icon|SA}} Garage.ChangeType( '[''string'']', [''int''] )
 +
| p1t        = [''garage handle'']
 +
| p1d        = The [[Garage#List of Garages|handle of the garage]], for GTA III and Vice City
 +
| p2t        = [''string'']
 +
| p2d        = The [[Garage#San Andreas 2|name of the garage]], for San Andreas
 +
| p3t        = [''int'']
 +
| p3d        = The [[Garage#Types of Garages|type of garage]]
 +
| native      = [[CHANGE_GARAGE_TYPE]]
 +
}}
  
==Keywords==
+
This opcode changes the garage's type.
change, garage, type
 
  
[[Category:OpCodes]]
+
== Keywords ==
 +
change, {{K|garage}}, type

Latest revision as of 11:26, 24 November 2016

GTA III Vice City San Andreas CHANGE_GARAGE_TYPE


Description
Changes the garage's type
Syntax
GTA III Vice City 02FA: garage [garage handle] change_to_type [int]
San Andreas 02FA: garage '[string]' change_to_type [int]
San Andreas Garage.ChangeType( '[string]', [int] )
Parameter
[garage handle]
The handle of the garage, for GTA III and Vice City
[string]
The name of the garage, for San Andreas
[int]
The type of garage
Native analog
CHANGE_GARAGE_TYPE

This opcode changes the garage's type.

Keywords

change, garage, type