0415
Revision as of 23:47, 23 June 2015 by Spaceeinstein (talk | contribs) (Created page with "{{Icon|3}} '''IS_CAR_DOOR_CLOSED''' <hr /> '''Description''' : Checks if the car component of the car is closed '''Syntax''' : 0415: car [''car handle''] door [''int'']...")
Description
- Checks if the car component of the car is closed
Syntax
- 0415: car [car handle] door [int] closed
Parameter
- [car handle]
- The handle of the vehicle
- [int]
- Component ID (see below)
This opcode returns true if the car component of the car is closed. If the component is damaged and cannot be closed shut, the opcode can still return true if the component rotates into the closing position.
ID | Enum | Notes |
---|---|---|
0 | BONNET | bonnet, hood |
1 | BOOT | boot, trunk, tailgate |
2 | FRONT_LEFT_DOOR | front left door |
3 | FRONT_RIGHT_DOOR | front right door |
4 | REAR_LEFT_DOOR | rear left door |
5 | REAR_RIGHT_DOOR | rear right door |
Keywords
check, car, vehicle, door, component, closed