RedM Natives

_GET_PLAYER_UI_PROMPT_IS_DISABLED

Returns false if PromptType is enabled

Hash0x6614F9039BD31931
Runtime nameGetPlayerUiPromptIsDisabled
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _GET_PLAYER_UI_PROMPT_IS_DISABLED(Player player, int promptType, int promptMode);

Parameters

NameTypeDescription
playerPlayer—
promptTypeint—
promptModeint—

Returns BOOL

Description

Returns false if PromptType is enabled
Params: See 0x0751D461F06E41CE

Usage

Lua
local retval = GetPlayerUiPromptIsDisabled(player, promptType, promptMode)

-- always works, by hash
local retval = Citizen.InvokeNative(0x6614F9039BD31931, player, promptType, promptMode, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetPlayerUiPromptIsDisabled(player, promptType, promptMode);

// by hash
const retval = Citizen.invokeNative('0x6614F9039BD31931', player, promptType, promptMode, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x6614F9039BD31931, player, promptType, promptMode);
  • 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.