Difference between revisions of "039C"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|trilogy}} '''SET_CAR_WATERTIGHT''' <hr /> '''Description''' : Sets the vehicle to watertight '''Syntax''' : 039C: set_car [''car handle''] watertight [''int''] '''Param...")
 
 
Line 1: Line 1:
{{Icon|trilogy}} '''SET_CAR_WATERTIGHT'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
'''Description'''
+
| command    = SET_CAR_WATERTIGHT
: Sets the vehicle to watertight
+
| description = Sets the vehicle to watertight
'''Syntax'''
+
| syntax1    = 039C: set_car [''car handle''] watertight [''int'']
: 039C: set_car [''car handle''] watertight [''int'']
+
| p1t        = [''car handle'']
'''Parameter'''
+
| p1d        = The handle of the vehicle
: [''car handle'']
+
| p2t        = [''int'']
:: The handle of the vehicle
+
| p2d        = 0 = not watertight, {{hint|1|or any value other than 0}} = watertight
: [''int'']
+
}}
:: 0 = not watertight, 1 = watertight
 
  
This opcode sets the vehicle to watertight, meaning any characters sitting inside the vehicle will not drown when submerged in water. This does not affect the player.
+
This opcode sets the vehicle to watertight, meaning any characters except the player sitting inside the vehicle will not drown when submerged in water. It only affects wheeled vehicles like automobiles, helicopters, and motorbikes.
  
 
== Keywords ==
 
== Keywords ==
 
set, car, vehicle, water, watertight
 
set, car, vehicle, water, watertight
 
[[Category:OpCodes]]
 

Latest revision as of 01:15, 31 August 2017

GTA III Vice City San Andreas SET_CAR_WATERTIGHT


Description
Sets the vehicle to watertight
Syntax
039C: set_car [car handle] watertight [int]
Parameter
[car handle]
The handle of the vehicle
[int]
0 = not watertight, 1 = watertight

This opcode sets the vehicle to watertight, meaning any characters except the player sitting inside the vehicle will not drown when submerged in water. It only affects wheeled vehicles like automobiles, helicopters, and motorbikes.

Keywords

set, car, vehicle, water, watertight