RedM Natives

EVENTS_UI_IS_PENDING

Old name: _EVENT_MANAGER_IS_EVENT_PENDING

Hash0x67ED5A7963F2F722
Runtime nameEventsUiIsPending
NamespaceUIEVENTS
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL EVENTS_UI_IS_PENDING(Hash hash);

Parameters

NameTypeDescription
hashHash—

Returns BOOL

Description

Old name: _EVENT_MANAGER_IS_EVENT_PENDING

Usage

Lua
local retval = EventsUiIsPending(hash)

-- always works, by hash
local retval = Citizen.InvokeNative(0x67ED5A7963F2F722, hash, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = EventsUiIsPending(hash);

// by hash
const retval = Citizen.invokeNative('0x67ED5A7963F2F722', hash, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x67ED5A7963F2F722, hash);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.