{"hash":"0x4D8611DFE1126478","ns":"OBJECT","name":"_GET_DOOR_KNOCKING_WHEN_LOCKED","slug":"_GET_DOOR_KNOCKING_WHEN_LOCKED","official":false,"named":true,"luaName":"GetDoorKnockingWhenLocked","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"doorHash","type":"Hash"}],"summary":"Returns whether the specified door has the locked-door knocking interaction enabled.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns whether the specified door has the locked-door knocking interaction enabled.\nGetter counterpart of _SET_DOOR_KNOCKING_WHEN_LOCKED."},{"source":"vorp","format":"text","body":"Checks whether the specified door has the \"knocking when locked\" interaction enabled"}],"examples":[],"aliases":[],"enums":[],"related":["0xA93F925F1942E434"],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/OBJECT/_GET_DOOR_KNOCKING_WHEN_LOCKED","markdownUrl":"https://natives.borderlinerp.com/natives/OBJECT/_GET_DOOR_KNOCKING_WHEN_LOCKED.md","snippets":{"lua":"local retval = GetDoorKnockingWhenLocked(doorHash)","luaInvoke":"local retval = Citizen.InvokeNative(0x4D8611DFE1126478, doorHash, Citizen.ReturnResultAnyway())","js":"const retval = GetDoorKnockingWhenLocked(doorHash);","jsInvoke":"const retval = Citizen.invokeNative('0x4D8611DFE1126478', doorHash, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x4D8611DFE1126478, 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."]}}