Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0905

Opcode Database

0905

DescriptionWhen set to 0, it locks the door at it's current rotation and allows a door object to be pushed open by entities once. When set to 1, it locks the door at it's current rotation.

When the door shuts, the door is locked again.
Parameters (v2)1) Object handle (Integer) (INT)
2) Boolean (1 or 0) (INT)
Gamessa
CategoryObject
Command Name (IV)LOCK_DOOR
San Andreas
sascm.ini0905=2,lock_door %1d% to %2h%
Example0905: lock_door 111@ to 1
Command NameLOCK_DOOR

<< 0904

0906 >>