The Lab
HUD native

_UI_PROMPT_DOES_AMBIENT_GROUP_EXIST

returns BOOL1 parambuild 1207

Returns true if an ambient prompt group with the id hash exists.

Signature

C
BOOL _UI_PROMPT_DOES_AMBIENT_GROUP_EXIST(Hash hash); // 0xEB550B927B34A1BB b1207

Parameters

#NameType
1hashHash

Facts

Facts about _UI_PROMPT_DOES_AMBIENT_GROUP_EXIST
Name
_UI_PROMPT_DOES_AMBIENT_GROUP_EXIST
Hash
0xEB550B927B34A1BB
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(0xEB550B927B34A1BB, -- _UI_PROMPT_DOES_AMBIENT_GROUP_EXIST
  GetHashKey("name") -- Hash hash
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xEB550B927B34A1BB", // _UI_PROMPT_DOES_AMBIENT_GROUP_EXIST
  GetHashKey("name"), // Hash hash
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xEB550B927B34A1BB, // _UI_PROMPT_DOES_AMBIENT_GROUP_EXIST
  (uint)API.GetHashKey("name") // Hash hash
);
All HUD natives

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