The Lab
UIEVENTS native

EVENTS_UI_IS_PENDING

returns BOOL1 parambuild 1207

Returns true if a UI event message is waiting on the channel identified by hash.

Check it every frame, read with EVENTS_UI_GET_MESSAGE, then call EVENTS_UI_POP_MESSAGE.

Signature

C
BOOL EVENTS_UI_IS_PENDING(Hash hash); // 0x67ED5A7963F2F722 b1207

Parameters

#NameType
1hashHash

Facts

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

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