EVENTS_UI_IS_PENDING
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
BOOL EVENTS_UI_IS_PENDING(Hash hash); // 0x67ED5A7963F2F722 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | hash | Hash |
Facts
| 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.
local result = Citizen.InvokeNative(0x67ED5A7963F2F722, -- EVENTS_UI_IS_PENDING
GetHashKey("name") -- Hash hash
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x67ED5A7963F2F722", // EVENTS_UI_IS_PENDING
GetHashKey("name"), // Hash hash
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x67ED5A7963F2F722, // EVENTS_UI_IS_PENDING
(uint)API.GetHashKey("name") // Hash hash
);Related UIEVENTS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.