Difference between revisions of "02FA"

From GTAMods Wiki
Jump to navigation Jump to search
(updating page)
 
Line 1: Line 1:
{{Icon|trilogy}}
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
+
| command    = CHANGE_GARAGE_TYPE
'''Description'''
+
| description = Changes the [[garage]]'s type
: Changes the [[garage]] into another type of garage
+
| syntax1    = {{Icon|3}} {{Icon|VC}} 02FA: garage [''garage handle''] change_to_type [''int'']
'''Syntax'''
+
| syntax2    = {{Icon|SA}} 02FA: garage '[''string'']' change_to_type [''int'']
: {{Icon|3}} {{Icon|VC}} 02FA: garage [''garage handle''] change_to_type [''int'']
+
| syntax3    = {{Icon|SA}} Garage.ChangeType( '[''string'']', [''int''] )
: {{Icon|SA}} 02FA: garage '[''string'']' change_to_type [''int'']
+
| p1t        = [''garage handle'']
: {{Icon|SA}} Garage.ChangeType( '[''string'']', [''int''] )
+
| p1d        = The [[Garage#List of Garages|handle of the garage]], for GTA III and Vice City
'''Parameter'''
+
| p2t        = [''string'']
: [''garage handle'']
+
| p2d        = The [[Garage#San Andreas 2|name of the garage]], for San Andreas
:: The [[Garage#List of Garages|handle of the garage]], for GTA III and Vice City
+
| p3t        = [''int'']
: [''string'']
+
| p3d        = The [[Garage#Types of Garages|type of garage]]
:: The [[Garage#San Andreas 2|name of the garage]], for San Andreas (max size 8 characters)
+
| native      = [[CHANGE_GARAGE_TYPE]]
: [''int'']
+
}}
:: The [[Garage#Types of Garages|type of garage]]
+
 
'''Native analog'''
+
This opcode changes the garage's type.
: [[CHANGE_GARAGE_TYPE]]
 
}}</onlyinclude>
 
  
 
== Keywords ==
 
== Keywords ==
change, garage, type
+
change, {{K|garage}}, type
 
 
[[Category:OpCodes]]
 

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