{"hash":"0xEBA314768FB35D58","ns":"OBJECT","name":"_DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER","slug":"_DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER","official":false,"named":true,"luaName":"DoorSystemGetForcedOpenPlayer","game":"rdr3","apiset":"client","returnType":"Player","params":[{"name":"doorHash","type":"Hash"}],"summary":"Returns the player who forced the specified door open using a physical interaction such as kicking or shoulder bashing.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the player who forced the specified door open using a physical interaction such as kicking or shoulder bashing.\nReturns 255 if no valid player is associated or the door was not force-opened.\nOnly works for player-driven forced interactions on door-system registered doors; normal door opening and NPC interactions do not populate this value."},{"source":"vorp","format":"text","body":"Returns the player who forced the specified door open using physical interaction\n(e.g. kicking or shoulder bashing).\nIf a player breaks or forces the door open, this native returns the Player ID directly."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/OBJECT/_DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER","markdownUrl":"https://natives.borderlinerp.com/natives/OBJECT/_DOOR_SYSTEM_GET_FORCED_OPEN_PLAYER.md","snippets":{"lua":"local retval = DoorSystemGetForcedOpenPlayer(doorHash)","luaInvoke":"local retval = Citizen.InvokeNative(0xEBA314768FB35D58, doorHash, Citizen.ResultAsInteger())","js":"const retval = DoorSystemGetForcedOpenPlayer(doorHash);","jsInvoke":"const retval = Citizen.invokeNative('0xEBA314768FB35D58', doorHash, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xEBA314768FB35D58, doorHash);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}