GET_IS_PLAYER_UI_PROMPT_ACTIVE
Hash
0x51BEA356B1C60225Runtime name
GetIsPlayerUiPromptActiveNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL GET_IS_PLAYER_UI_PROMPT_ACTIVE(Player player, int p1);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
p1 | int | — |
Returns BOOL
Usage
local retval = GetIsPlayerUiPromptActive(player, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0x51BEA356B1C60225, player, p1, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GetIsPlayerUiPromptActive(player, p1);
// by hash
const retval = Citizen.invokeNative('0x51BEA356B1C60225', player, p1, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x51BEA356B1C60225, player, p1);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.