0228
Revision as of 21:49, 28 December 2014 by Spaceeinstein (talk | contribs)
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]
This conditional opcode returns true if the vehicle contains the current status type of the bomb.
Bomb types
Type | Enum | Description |
---|---|---|
0 | CARBOMB_NONE | 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