Difference between revisions of "039C"
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| | + | {{OpCode |
− | + | | games = {{Icon|t}} | |
− | + | | command = SET_CAR_WATERTIGHT | |
− | + | | description = Sets the vehicle to watertight | |
− | + | | syntax1 = 039C: set_car [''car handle''] watertight [''int''] | |
− | + | | p1t = [''car handle''] | |
− | + | | p1d = The handle of the vehicle | |
− | + | | p2t = [''int''] | |
− | + | | p2d = 0 = not watertight, {{hint|1|or any value other than 0}} = watertight | |
− | + | }} | |
− | |||
− | This opcode sets the vehicle to watertight, meaning any characters sitting inside the vehicle will not drown when submerged in water. | + | 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 | ||
− | |||
− |
Latest revision as of 01:15, 31 August 2017
- 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