EVENTS_UI_IS_PENDING
Old name: _EVENT_MANAGER_IS_EVENT_PENDING
Hash
0x67ED5A7963F2F722Runtime name
EventsUiIsPendingNamespaceUIEVENTS
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL EVENTS_UI_IS_PENDING(Hash hash);Parameters
| Name | Type | Description |
|---|---|---|
hash | Hash | — |
Returns BOOL
Description
Old name: _EVENT_MANAGER_IS_EVENT_PENDING
Usage
local retval = EventsUiIsPending(hash)
-- always works, by hash
local retval = Citizen.InvokeNative(0x67ED5A7963F2F722, hash, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = EventsUiIsPending(hash);
// by hash
const retval = Citizen.invokeNative('0x67ED5A7963F2F722', hash, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x67ED5A7963F2F722, hash);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.