_UI_PROMPT_DOES_AMBIENT_GROUP_EXIST
Returns true if an ambient prompt group with the id hash exists.
Signature
BOOL _UI_PROMPT_DOES_AMBIENT_GROUP_EXIST(Hash hash); // 0xEB550B927B34A1BB b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | hash | Hash |
Facts
| 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.
local result = Citizen.InvokeNative(0xEB550B927B34A1BB, -- _UI_PROMPT_DOES_AMBIENT_GROUP_EXIST
GetHashKey("name") -- Hash hash
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xEB550B927B34A1BB", // _UI_PROMPT_DOES_AMBIENT_GROUP_EXIST
GetHashKey("name"), // Hash hash
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xEB550B927B34A1BB, // _UI_PROMPT_DOES_AMBIENT_GROUP_EXIST
(uint)API.GetHashKey("name") // Hash hash
);Related HUD natives
- _UI_PROMPT_SET_AMBIENT_GROUP_THIS_FRAME
- _UI_PROMPT_DISABLE_PROMPT_TYPE_THIS_FRAME
- _UI_PROMPT_ADD_GROUP_LINK
- _UI_PROMPT_ADD_GROUP_RETURN_LINK
- _UI_PROMPT_CLEAR_PROMPT_PRIORITY_PREFERENCE
- _UI_PROMPT_ENABLE_PROMPT_TYPE_THIS_FRAME
- _UI_PROMPT_GET_GROUP_ACTIVE_PAGE
- _UI_PROMPT_GET_GROUP_ID_FOR_SCENARIO_POINT
- _UI_PROMPT_GET_GROUP_ID_FOR_TARGET_ENTITY
- _UI_PROMPT_REMOVE_GROUP
- _UI_PROMPT_SET_ACTIVE_GROUP_THIS_FRAME
- _UI_PROMPT_SET_GROUP
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.