RedM Natives

_SET_CARRIABLE_CONFIG_PROMPT_ENABLED

Enables or disables the interaction prompt for a given carriable config (e.g.

Hash0x816A3ACD265E2297
Runtime nameSetCarriableConfigPromptEnabled
NamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_CARRIABLE_CONFIG_PROMPT_ENABLED(Hash carriableConfig, BOOL toggle);

Parameters

NameTypeDescription
carriableConfigHash—
toggleBOOL—

Returns void

Description

Enables or disables the interaction prompt for a given carriable config (e.g. DEAD_CARRIABLE_HUMAN).
Use after loading the config; when disabled, pickup/use prompts will not appear.
carriableConfig: see _REQUEST_CARRIABLE_CONFIG

Usage

Lua
SetCarriableConfigPromptEnabled(carriableConfig, toggle)

-- always works, by hash
Citizen.InvokeNative(0x816A3ACD265E2297, carriableConfig, toggle)
JavaScript and C#
JavaScript
SetCarriableConfigPromptEnabled(carriableConfig, toggle);

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

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