The Lab
PLAYER native

_GET_PLAYER_UI_PROMPT_IS_DISABLED

returns BOOL3 paramsbuild 1207

Returns true if the given UI prompt type and mode is disabled for player.

Signature

C
BOOL _GET_PLAYER_UI_PROMPT_IS_DISABLED(Player player, int promptType, int promptMode); // 0x6614F9039BD31931 b1207

Parameters

#NameType
1playerPlayer
2promptTypeint
3promptModeint

Facts

Facts about _GET_PLAYER_UI_PROMPT_IS_DISABLED
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.

Lua
local result = Citizen.InvokeNative(0x6614F9039BD31931, -- _GET_PLAYER_UI_PROMPT_IS_DISABLED
  PlayerId(), -- Player player
  0, -- int promptType
  0 -- int promptMode
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x6614F9039BD31931", // _GET_PLAYER_UI_PROMPT_IS_DISABLED
  PlayerId(), // Player player
  0, // int promptType
  0, // int promptMode
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x6614F9039BD31931, // _GET_PLAYER_UI_PROMPT_IS_DISABLED
  API.PlayerId(), // Player player
  0, // int promptType
  0 // int promptMode
);
All PLAYER natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.