_GET_PLAYER_UI_PROMPT_FOR_PED_IS_ENABLED
Returns true if PromptType is enabled for ped (mount)
Hash
0xEA8F168A76A0B9BCRuntime name
GetPlayerUiPromptForPedIsEnabledNamespacePLAYER
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
| Name | Type | Description |
|---|---|---|
player | Player | — |
ped | Ped | — |
promptType | int | — |
promptMode | int | — |
Returns BOOL
Description
Returns true if PromptType is enabled for ped (mount)
Params: See 0x0751D461F06E41CE
Usage
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#
const retval = GetPlayerUiPromptForPedIsEnabled(player, ped, promptType, promptMode);
// by hash
const retval = Citizen.invokeNative('0xEA8F168A76A0B9BC', player, ped, promptType, promptMode, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.