Difference between revisions of "03ED"
Jump to navigation
Jump to search
(page updates) |
m |
||
Line 3: | Line 3: | ||
| command = SET_UPSIDEDOWN_CAR_NOT_DAMAGED | | command = SET_UPSIDEDOWN_CAR_NOT_DAMAGED | ||
| description = Sets the vehicle to not be damaged when upside down | | description = Sets the vehicle to not be damaged when upside down | ||
− | | syntax1 = 03ED: set_car [''car handle''] not_damaged_when_upside_down | + | | syntax1 = 03ED: set_car [''car handle''] not_damaged_when_upside_down [''int''] |
| p1t = [''car handle''] | | p1t = [''car handle''] | ||
| p1d = The handle of the vehicle | | p1d = The handle of the vehicle |
Latest revision as of 07:38, 8 June 2016
SET_UPSIDEDOWN_CAR_NOT_DAMAGED
- Description
- Sets the vehicle to not be damaged when upside down
- Syntax
- 03ED: set_car [car handle] not_damaged_when_upside_down [int]
- Parameter
- [car handle]
- The handle of the vehicle
- [int]
- 0 = default, 1 = not damaged when upside down
This opcode sets the vehicle to not be damaged when upside down as long as the player is not in the vehicle — the vehicle must be empty or has NPC drivers. If the player stays in the car while flipped over, it will burn and explode like normal.
Keywords
set, car, vehicle, flip, flipped, upside, down, damaged