0228

From GTAMods Wiki
Revision as of 20:15, 10 April 2012 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to search

GTA III IS_CAR_ARMED_WITH_BOMB


Description

Checks current type of bomb armed in the vehicle

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