# ANIMSCENE::_CREATE_MGM_SYSTEM

- **Hash:** `0xA1300DE03E5D1973`
- **Namespace:** ANIMSCENE
- **Runtime name (Lua/JS):** `CreateMgmSystem`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/ANIMSCENE/_CREATE_MGM_SYSTEM

## Signature

```c
int _CREATE_MGM_SYSTEM(const char* mgmFilename);
```

## Parameters

- `mgmFilename` (`const char*`)

## Returns

`int`

## Description

Returns mgmHandle

## Usage

### Lua

```lua
local retval = CreateMgmSystem(mgmFilename)

-- always available, by hash
local retval = Citizen.InvokeNative(0xA1300DE03E5D1973, mgmFilename, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = CreateMgmSystem(mgmFilename);

// by hash
const retval = Citizen.invokeNative('0xA1300DE03E5D1973', mgmFilename, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xA1300DE03E5D1973, mgmFilename);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

## See also

- [ANIMSCENE::_DELETE_MGM_SYSTEM](https://natives.borderlinerp.com/natives/ANIMSCENE/_DELETE_MGM_SYSTEM.md)

*Sources: alloc8or RDR3 NativeDB.*
