_CREATE_MGM_SYSTEM
Returns mgmHandle
Hash
0xA1300DE03E5D1973Runtime name
CreateMgmSystemNamespaceANIMSCENE
SideClient
NameCommunity guess
Docs
Since build1207
Signature
int _CREATE_MGM_SYSTEM(const char* mgmFilename);Parameters
| Name | Type | Description |
|---|---|---|
mgmFilename | const char* | — |
Returns int
Description
Returns mgmHandle
Usage
local retval = CreateMgmSystem(mgmFilename)
-- always works, by hash
local retval = Citizen.InvokeNative(0xA1300DE03E5D1973, mgmFilename, Citizen.ResultAsInteger())JavaScript and C#
const retval = CreateMgmSystem(mgmFilename);
// by hash
const retval = Citizen.invokeNative('0xA1300DE03E5D1973', mgmFilename, Citizen.returnResultAnyway(), Citizen.resultAsInteger());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
InvokeNativewith the hash — it always works.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.