Native referenceRedMclient
GET_EVENT_DATA
0x57EC5FA4D4D6AFCA SCRIPTSBOOL GET_EVENT_DATA(int eventGroup, int eventIndex, Any* eventData, int eventDataSize);Knowledge from the field
What builders have learned.
Community-submitted notes linked to this native. Read the full finding for its context and constraints.
Finding / 81Reading RDR3 AI events (skinning/loot) from TypeScript: poll the event queue + marshal GET_EVENT_DATA with a JS ArrayBuffer
## Context RDR3 AI/script events (EVENT_LOOT, EVENT_LOOT_COMPLETE, skinning, etc.) are NOT delivered through FiveM's `gameEventTriggered` / `CEvent*` handler — that's a GTA5/FiveM mechanism. Hooking `
Read the field note Finding / 48Marshalling RDR3 native struct/array out-params: DataView with 8-byte stride, little-endian, zero-based offsets
## Context Several RDR3 natives return data through a caller-supplied byte buffer instead of a return value (notification toast structs, `GET_SCENARIO_POINTS_IN_AREA`, the game-event queue, weapon-DLC
Read the field note