0228

From GTAMods Wiki
Revision as of 20:14, 10 April 2012 by Spaceeinstein (talk | contribs) (Created page with "{{Icon|3}} '''IS_CAR_ARMED_WITH_BOMB''' <hr /> <onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode| '''Description''' : '''Syntax''' : 0228:   car [''car handle''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III IS_CAR_ARMED_WITH_BOMB


Description

Syntax

0228:   car [car handle] bomb_status == [int]

Parameter

[car handle]
The handle of the vehicle
[int]
Bomb type

This conditional opcode checks current type of bomb armed in the vehicle.

Bomb types

Type Enum Description
0 No bomb
1 CARBOMB_TIMED Inactive timed bomb, can be obtained from garage type 2
2 CARBOMB_ONIGNITION Inactive ignition bomb, can be obtained from garage type 3
3 CARBOMB_REMOTE Remote detonation bomb, can be obtained from garage type 4
4 CARBOMB_TIMEDACTIVE Active timed bomb, activated from bomb type 1
5 CARBOMB_ONIGNITIONACTIVE Active ignition bomb, activated from bomb type 2

Keywords

check, car, vehicle, bomb, status

See also

  • 0242, arms the car with the type of bomb