Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 095E

Opcode Database

095E

DescriptionSets the cars door angle and latch state.

Values for unlatch are as follows:
0 - Door is locked at one angle.
1 - Door is allowed to swing open and closed.
2 - Door is damaged and locked at one angle.
3 - Door is damaged and allowed to swing open and closed.
4 - Door will fall off the car and render as scorched (from car explosion).

More research is needed on this opcode.
Parameters (v2)1) Vehicle handle (Integer) (INT)
2) Car door ID (Integer) (INT)
3) Integer (INT)
4) Float (FLOAT)
Gamessa
CategoryVehicle
Command Name (IV)SET_CAR_DOOR_LATCHED
San Andreas
sascm.ini095E=4,control_car_door %1d% door %2h% latch %3h% angle %4d%
Example095E: control_car_door 47@ door 4 latch 1 angle -1.0
Command NameCONTROL_CAR_DOOR

<< 095D

095F >>