GET_STATE_OF_CLOSEST_DOOR_OF_TYPE
Usage
local lockState, openRatio = Game.GetStateOfClosestDoorOfType(modelHash, x, y, z)
Gets the state of the closest door type.
Parameters
modelHashintegerintxnumberfloatynumberfloatznumberfloat
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);