_LOAD_MGM_ASSETS
Based on its name and signature, here is our best reading:
Appears to request the assets of the MGM system file mgmFilename, returning true once they are available.
Signature
BOOL _LOAD_MGM_ASSETS(const char* mgmFilename); // 0xB727A847862CB00A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | mgmFilename | const char* |
Facts
| Name | _LOAD_MGM_ASSETS |
|---|---|
| Hash | 0xB727A847862CB00A |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xB727A847862CB00A, -- _LOAD_MGM_ASSETS
"text" -- const char* mgmFilename
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xB727A847862CB00A", // _LOAD_MGM_ASSETS
"text", // const char* mgmFilename
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xB727A847862CB00A, // _LOAD_MGM_ASSETS
"text" // const char* mgmFilename
);Related ANIMSCENE natives
- _CREATE_MGM_SYSTEM
- _DELETE_MGM_SYSTEM
- _GET_ANIM_SCENE_PLAYBACK_LIST_PHASE_AUDIO_LOAD_STRESS
- _IS_MGM_SYSTEM_LOADED
- _SET_MGM_EVENT
- LOAD_ANIM_SCENE
- _CLEAR_ANIM_SCENE_WAS_SKIPPED
- _CLEAR_BREAKOUT_ARCHETYPE
- _CREATE_ANIM_SCENE
- _DELETE_ANIM_SCENE
- _DOES_ANIM_SCENE_OWNERSHIP_OF_ENTITY_EXIST
- _DOES_ANIM_SCENE_PLAY_LIST_EXIST
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.