Difference between revisions of "03ED"

From GTAMods Wiki
Jump to navigation Jump to search
(new discovery)
 
(page updates)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 03ED=2,%1d% %2h%
+
| games      = {{Icon|t}}
| description = Prevents the car from blowing up while flipped over
+
| command    = SET_UPSIDEDOWN_CAR_NOT_DAMAGED
| p1          = Existing vehicle handle
+
| description = Sets the vehicle to not be damaged when upside down
| p2          = Flag (0 = off, 1 = on)
+
| syntax1    = 03ED: set_car [''car handle''] not_damaged_when_upside_down 1
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
| p1t        = [''car handle'']
 +
| p1d        = The handle of the vehicle
 +
| p2t        = [''int'']
 +
| p2d        = 0 = default, {{hint|1|or any value other than 0}} = not damaged when upside down
 
}}
 
}}
This opcode prevents the car from blowing up while flipped over as long as the player is not in the car. The car has to be empty or has NPC drivers. If the player stays in the car while flipped over, it will burn and explode as what a normal flipped car would do.
+
 
 +
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

Revision as of 07:37, 8 June 2016

GTA III Vice City San Andreas 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 1
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