Difference between revisions of "0361"

From GTAMods Wiki
Jump to navigation Jump to search
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<code>0361=1,%1d%</code><br>
+
{{OpCode
'''Description''': Closes the door of a [[garage]]<br>
+
| games      = {{Icon|t}}
'''Parameter 1''': Garage ID<br>
+
| command    = CLOSE_GARAGE
'''Supports''': GTA3, Vice City, San Andreas<br>
+
| description = Closes the [[garage]]
 +
| syntax1    = 0361: close_garage [''garage handle'']
 +
| p1t        = [''garage handle'']
 +
| p1d        = The [[Garage#List of Garages|handle of the garage]]
 +
}}
  
==Keywords==
+
This opcode sets the state of the garage to closed. The garage does not require a door but it is a good visual indication showing that the garage is closed. For some garages that have unique effects when closed like spray garages and bomb shops, using this opcode on these garages will force the effects to occur and bypass checks that are normally done to close the garage. So it is possible to invoke these effects, which include showing [[Text#Garage message|garage messages]] and taking away your money, while on foot outside the garage.
 +
 
 +
== Keywords ==
 
set, garage, door, close
 
set, garage, door, close
 
[[Category:OpCodes]]
 

Latest revision as of 16:15, 15 June 2016

GTA III Vice City San Andreas CLOSE_GARAGE


Description
Closes the garage
Syntax
0361: close_garage [garage handle]
Parameter
[garage handle]
The handle of the garage

This opcode sets the state of the garage to closed. The garage does not require a door but it is a good visual indication showing that the garage is closed. For some garages that have unique effects when closed like spray garages and bomb shops, using this opcode on these garages will force the effects to occur and bypass checks that are normally done to close the garage. So it is possible to invoke these effects, which include showing garage messages and taking away your money, while on foot outside the garage.

Keywords

set, garage, door, close