RedM Natives

_LOAD_MGM_ASSETS

Used to request MiniGameMoments Assets.

Hash0xB727A847862CB00A
Runtime nameLoadMgmAssets
NamespaceANIMSCENE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _LOAD_MGM_ASSETS(const char* mgmFilename);

Parameters

NameTypeDescription
mgmFilenameconst char*—

Returns BOOL

Description

Used to request MiniGameMoments Assets.

mgmFilename's:
Poker
PokerArthur
PokerArthurCamp
PokerJohn
PokerJohnCamp

Usage

Lua
local retval = LoadMgmAssets(mgmFilename)

-- always works, by hash
local retval = Citizen.InvokeNative(0xB727A847862CB00A, mgmFilename, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = LoadMgmAssets(mgmFilename);

// by hash
const retval = Citizen.invokeNative('0xB727A847862CB00A', mgmFilename, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xB727A847862CB00A, 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.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.