The Lab
ANIMSCENE native

_SET_MGM_EVENT

returns void5 paramsbuild 1207

Based on its name and signature, here is our best reading:

Appears to send an event to an MGM system. Most parameters are undocumented.

Signature

C
void _SET_MGM_EVENT(int mgmEventHandle, const char* p1, Any seatId, int p3, float p4); // 0x07706C4CC9C6CC9E b1207

Parameters

#NameType
1mgmEventHandleint
2p1const char*
3seatIdAny
4p3int
5p4float

Facts

Facts about _SET_MGM_EVENT
Name
_SET_MGM_EVENT
Hash
0x07706C4CC9C6CC9E
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x07706C4CC9C6CC9E, -- _SET_MGM_EVENT
  0, -- int mgmEventHandle
  "text", -- const char* p1
  0, -- Any seatId
  0, -- int p3
  0.0 -- float p4
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x07706C4CC9C6CC9E", // _SET_MGM_EVENT
  0, // int mgmEventHandle
  "text", // const char* p1
  0, // Any seatId
  0, // int p3
  0.0 // float p4
);
C#
Function.Call((Hash)0x07706C4CC9C6CC9E, // _SET_MGM_EVENT
  0, // int mgmEventHandle
  "text", // const char* p1
  0, // Any seatId
  0, // int p3
  0.0f // float p4
);
All ANIMSCENE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.