_SET_MGM_EVENT
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
void _SET_MGM_EVENT(int mgmEventHandle, const char* p1, Any seatId, int p3, float p4); // 0x07706C4CC9C6CC9E b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | mgmEventHandle | int |
| 2 | p1 | const char* |
| 3 | seatId | Any |
| 4 | p3 | int |
| 5 | p4 | float |
Facts
| 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.
Citizen.InvokeNative(0x07706C4CC9C6CC9E, -- _SET_MGM_EVENT
0, -- int mgmEventHandle
"text", -- const char* p1
0, -- Any seatId
0, -- int p3
0.0 -- float p4
)// 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
);Function.Call((Hash)0x07706C4CC9C6CC9E, // _SET_MGM_EVENT
0, // int mgmEventHandle
"text", // const char* p1
0, // Any seatId
0, // int p3
0.0f // float p4
);Related ANIMSCENE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.