Difference between revisions of "02FA"

From GTAMods Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 02FA=2,%1d% %2d%
+
| games      = {{Icon|t}}
| description = Changes the garage into another type of garage
+
| command    = CHANGE_GARAGE_TYPE
| p1          = [[Garage#List_of_Garages|Garage ID]]
+
| description = Changes the [[garage]]'s type
| p2          = [[Garage#Types_of_Garages|Garage type]]
+
| syntax1    = {{Icon|3}} {{Icon|VC}} 02FA: garage [''garage handle''] change_to_type [''int'']
| game        = GTA3, Vice City, San Andreas
+
| 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]]
 
| native      = [[CHANGE_GARAGE_TYPE]]
 
}}
 
}}
==Keywords==
 
change, garage, type
 
  
[[Category:OpCodes]]
+
This opcode changes the garage's type.
 +
 
 +
== 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