GTAG - Modding - Opcode Database - 0905
Opcode Database
0905
Description | When 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) |
Games | ![]() |
Category | Object |
Command Name (IV) | LOCK_DOOR |
San Andreas | |
sascm.ini | 0905=2,lock_door %1d% to %2h% |
Example | 0905: lock_door 111@ to 1 |
Command Name | LOCK_DOOR |