_SET_DOOR_KICK_PROMPT_ENABLED
Enables or disables the Kick interaction prompt for a specific door.
Hash
0xC07B91B996C1DE89Runtime name
SetDoorKickPromptEnabledNamespaceOBJECT
SideClient
NameCommunity guess
Docs
Since build1207
Also known as
_SET_DOOR_ENABLE_KICK_PROMPTSignature
void _SET_DOOR_KICK_PROMPT_ENABLED(Hash doorHash, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
doorHash | Hash | — |
toggle | BOOL | — |
Returns void
Description
Enables or disables the Kick interaction prompt for a specific door.
When enabled, a locked door can show a kick prompt so the player can force it open.
If the door is already unlocked, the kick prompt typically will not appear regardless of this setting.
Enables the kick prompt for a door
Usage
SetDoorKickPromptEnabled(doorHash, toggle)
-- always works, by hash
Citizen.InvokeNative(0xC07B91B996C1DE89, doorHash, toggle)JavaScript and C#
SetDoorKickPromptEnabled(doorHash, toggle);
// by hash
Citizen.invokeNative('0xC07B91B996C1DE89', doorHash, toggle);Function.Call((Hash)0xC07B91B996C1DE89, doorHash, toggle);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.