RedM Natives

_GET_PLAYER_UI_PROMPT_FOR_PED_IS_ENABLED

Returns true if PromptType is enabled for ped (mount)

Hash0xEA8F168A76A0B9BC
Runtime nameGetPlayerUiPromptForPedIsEnabled
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _GET_PLAYER_UI_PROMPT_FOR_PED_IS_ENABLED(Player player, Ped ped, int promptType, int promptMode);

Parameters

NameTypeDescription
playerPlayer—
pedPed—
promptTypeint—
promptModeint—

Returns BOOL

Description

Returns true if PromptType is enabled for ped (mount)
Params: See 0x0751D461F06E41CE

Usage

Lua
local retval = GetPlayerUiPromptForPedIsEnabled(player, ped, promptType, promptMode)

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

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