{"hash":"0xC07B91B996C1DE89","ns":"OBJECT","name":"_SET_DOOR_KICK_PROMPT_ENABLED","slug":"_SET_DOOR_KICK_PROMPT_ENABLED","official":false,"named":true,"luaName":"SetDoorKickPromptEnabled","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"doorHash","type":"Hash"},{"name":"toggle","type":"BOOL"}],"summary":"Enables or disables the Kick interaction prompt for a specific door.","descriptions":[{"source":"alloc8or","format":"text","body":"Enables or disables the Kick interaction prompt for a specific door.\nWhen enabled, a locked door can show a kick prompt so the player can force it open.\nIf the door is already unlocked, the kick prompt typically will not appear regardless of this setting."},{"source":"vorp","format":"text","body":"Enables the kick prompt for a door"}],"examples":[],"aliases":["_SET_DOOR_ENABLE_KICK_PROMPT"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/OBJECT/_SET_DOOR_KICK_PROMPT_ENABLED","markdownUrl":"https://natives.borderlinerp.com/natives/OBJECT/_SET_DOOR_KICK_PROMPT_ENABLED.md","snippets":{"lua":"SetDoorKickPromptEnabled(doorHash, toggle)","luaInvoke":"Citizen.InvokeNative(0xC07B91B996C1DE89, doorHash, toggle)","js":"SetDoorKickPromptEnabled(doorHash, toggle);","jsInvoke":"Citizen.invokeNative('0xC07B91B996C1DE89', doorHash, toggle);","csharp":"Function.Call((Hash)0xC07B91B996C1DE89, doorHash, toggle);","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."]}}