_SET_CARRIABLE_CONFIG_PROMPT_ENABLED
Enables or disables the interaction prompt for a given carriable config (e.g.
Hash
0x816A3ACD265E2297Runtime name
SetCarriableConfigPromptEnabledNamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_CARRIABLE_CONFIG_PROMPT_ENABLED(Hash carriableConfig, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
carriableConfig | Hash | — |
toggle | BOOL | — |
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
SetCarriableConfigPromptEnabled(carriableConfig, toggle)
-- always works, by hash
Citizen.InvokeNative(0x816A3ACD265E2297, carriableConfig, toggle)JavaScript and C#
SetCarriableConfigPromptEnabled(carriableConfig, toggle);
// by hash
Citizen.invokeNative('0x816A3ACD265E2297', carriableConfig, toggle);Function.Call((Hash)0x816A3ACD265E2297, carriableConfig, 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
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.