The Lab
ANIMSCENE native

_CREATE_MGM_SYSTEM

returns int1 parambuild 1207

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

C
int _CREATE_MGM_SYSTEM(const char* mgmFilename); // 0xA1300DE03E5D1973 b1207

Parameters

#NameType
1mgmFilenameconst char*

Facts

Facts about _CREATE_MGM_SYSTEM
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.

Lua
local result = Citizen.InvokeNative(0xA1300DE03E5D1973, -- _CREATE_MGM_SYSTEM
  "text", -- const char* mgmFilename
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xA1300DE03E5D1973", // _CREATE_MGM_SYSTEM
  "text", // const char* mgmFilename
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0xA1300DE03E5D1973, // _CREATE_MGM_SYSTEM
  "text" // const char* mgmFilename
);
All ANIMSCENE natives

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