_GET_PLAYER_UI_PROMPT_IS_DISABLED
Returns false if PromptType is enabled
Hash
0x6614F9039BD31931Runtime name
GetPlayerUiPromptIsDisabledNamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _GET_PLAYER_UI_PROMPT_IS_DISABLED(Player player, int promptType, int promptMode);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
promptType | int | — |
promptMode | int | — |
Returns BOOL
Description
Returns false if PromptType is enabled
Params: See 0x0751D461F06E41CE
Usage
local retval = GetPlayerUiPromptIsDisabled(player, promptType, promptMode)
-- always works, by hash
local retval = Citizen.InvokeNative(0x6614F9039BD31931, player, promptType, promptMode, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GetPlayerUiPromptIsDisabled(player, promptType, promptMode);
// by hash
const retval = Citizen.invokeNative('0x6614F9039BD31931', player, promptType, promptMode, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.