_CREATE_MGM_SYSTEM
Based on its name and signature, here is our best reading:
Appears to create an MGM system from the file mgmFilename and return its handle.
Signature
int _CREATE_MGM_SYSTEM(const char* mgmFilename); // 0xA1300DE03E5D1973 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | mgmFilename | const char* |
Facts
| Name | _CREATE_MGM_SYSTEM |
|---|---|
| Hash | 0xA1300DE03E5D1973 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xA1300DE03E5D1973, -- _CREATE_MGM_SYSTEM
"text", -- const char* mgmFilename
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xA1300DE03E5D1973", // _CREATE_MGM_SYSTEM
"text", // const char* mgmFilename
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xA1300DE03E5D1973, // _CREATE_MGM_SYSTEM
"text" // const char* mgmFilename
);Related ANIMSCENE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.