Skip to main content

GET_STATE_OF_CLOSEST_DOOR_OF_TYPE

Game.GetStateOfClosestDoorOfTypeHash0x14007AC6
Usage
local lockState, openRatio = Game.GetStateOfClosestDoorOfType(modelHash, x, y, z)

Gets the state of the closest door type.

Parameters

  • modelHashintegerint
  • xnumberfloat
  • ynumberfloat
  • znumberfloat

Returns

  • lockStateintegerint*
  • openRationumberfloat*
Original declaration
// 0x14007AC6
void GET_STATE_OF_CLOSEST_DOOR_OF_TYPE(int modelHash, float x, float y, float z, int* lockState, float* openRatio);