Native referenceRedMclient

EVENTS_UI_GET_MESSAGE

0xE24E957294241444 UIEVENTS
FUNCTION SIGNATURE
BOOL EVENTS_UI_GET_MESSAGE(Hash hash, Any* eventData);
Property Value
Native Name EVENTS_UI_GET_MESSAGE
Hash 0xE24E957294241444
Return Type BOOL
Build 1207
API Set client
Parameters hash (Hash), eventData (Any*)

Description: eventData: struct UI_SCRIPT_EVENT { alignas(8) eUIScriptEventType eventType; // https://alloc8or.re/rdr3/doc/enums/eUIScriptEventType.txt alignas(8) int intParam; alignas(8) Hash hashParam; alignas(8) Hash datastoreParam; };

Old name: _EVENT_MANAGER_GET_EVENT

Usage

Lua (Direct):

local result = EventsUiGetMessage(hash, eventData)

Lua (Hash):

local result = Citizen.InvokeNative(0xE24E957294241444, hash, eventData)
Back to UIEVENTS