Native referenceRedM

_DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER

0xEBA314768FB35D58 OBJECT
FUNCTION SIGNATURE
int _DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER(Hash doorHash);
Property Value
Native Name _DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER
Hash 0xEBA314768FB35D58
Return Type int
Build 1207
Parameters doorHash (Hash)

Description: Returns the player who forced the specified door open using physical interaction (e.g. kicking or shoulder bashing). If a player breaks or forces the door open, this native returns the Player ID directly.

Usage

Lua (Direct):

local result = DoorSystemGetForcedOpenPlayer(doorHash)

Lua (Hash):

local result = Citizen.InvokeNative(0xEBA314768FB35D58, doorHash)
Back to OBJECT