_GET_PLAYER_UI_PROMPT_IS_DISABLED
Returns true if the given UI prompt type and mode is disabled for player.
Signature
BOOL _GET_PLAYER_UI_PROMPT_IS_DISABLED(Player player, int promptType, int promptMode); // 0x6614F9039BD31931 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | promptType | int |
| 3 | promptMode | int |
Facts
| Name | _GET_PLAYER_UI_PROMPT_IS_DISABLED |
|---|---|
| Hash | 0x6614F9039BD31931 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x6614F9039BD31931, -- _GET_PLAYER_UI_PROMPT_IS_DISABLED
PlayerId(), -- Player player
0, -- int promptType
0 -- int promptMode
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x6614F9039BD31931", // _GET_PLAYER_UI_PROMPT_IS_DISABLED
PlayerId(), // Player player
0, // int promptType
0, // int promptMode
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x6614F9039BD31931, // _GET_PLAYER_UI_PROMPT_IS_DISABLED
API.PlayerId(), // Player player
0, // int promptType
0 // int promptMode
);Related PLAYER natives
- _GET_PLAYER_UI_PROMPT_FOR_PED_IS_ENABLED
- GET_IS_PLAYER_UI_PROMPT_ACTIVE
- _GET_PLAYER_MOUNT_IS_SPRINTING_ON_ROAD
- _GET_PLAYER_CACHED_DEAD_EYE_AMOUNT
- _GET_PLAYER_DEAD_EYE
- _GET_PLAYER_DEAD_EYE_METER_LEVEL
- _GET_PLAYER_FREE_AIM_CLOSEST_ENTITY
- _GET_PLAYER_HEALTH
- _GET_PLAYER_HEALTH_RECHARGE_MULTIPLIER
- _GET_PLAYER_HUNTING_WAGON
- _GET_PLAYER_INTERACTION_AIM_ENTITY
- _GET_PLAYER_MAX_DEAD_EYE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.