Skip to main content

GET_DOOR_STATE

Game.GetDoorStateHash0x64861559
Usage
local lockState, openRatio = Game.GetDoorState(objectId)

Get the state of a door.

Parameters

  • objectIdintegerint

Returns

  • lockStateintegerint*
  • openRationumberfloat*
Original declaration
// 0x64861559
void GET_DOOR_STATE(int objectId, int* lockState, float* openRatio);