RedM Natives

_SET_DOOR_KICK_PROMPT_ENABLED

Enables or disables the Kick interaction prompt for a specific door.

Hash0xC07B91B996C1DE89
Runtime nameSetDoorKickPromptEnabled
NamespaceOBJECT
SideClient
NameCommunity guess
Docs
Since build1207
Also known as_SET_DOOR_ENABLE_KICK_PROMPT

Signature

void _SET_DOOR_KICK_PROMPT_ENABLED(Hash doorHash, BOOL toggle);

Parameters

NameTypeDescription
doorHashHash—
toggleBOOL—

Returns void

Description

alloc8or RDR3 NativeDB

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.

VORPCORE RDR3natives

Enables the kick prompt for a door

Usage

Lua
SetDoorKickPromptEnabled(doorHash, toggle)

-- always works, by hash
Citizen.InvokeNative(0xC07B91B996C1DE89, doorHash, toggle)
JavaScript and C#
JavaScript
SetDoorKickPromptEnabled(doorHash, toggle);

// by hash
Citizen.invokeNative('0xC07B91B996C1DE89', doorHash, toggle);
C#
Function.Call((Hash)0xC07B91B996C1DE89, doorHash, toggle);
  • 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.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.