DLCClient

onEnterMp

ON_ENTER_MP0x0888C3502DBBEEF5

The GTA V native ON_ENTER_MP of the DLC namespace, as LS:MP client scripts call it: the global function onEnterMp, in JavaScript and in Lua.

SignatureJavaScript
onEnterMp(): void
SignatureLua
onEnterMp()

Usage

JavaScript
onEnterMp();
Lua
onEnterMp()

Parameters

None.

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

This loads the GTA:O dlc map parts (high end garages, apartments).
Works in singleplayer.
In order to use GTA:O heist IPL's you have to call this native with the following params: setInstancePriorityMode(1);

Reference

Namespace
DLC DLC
In the game
void ON_ENTER_MP()
Hash
0x0888C3502DBBEEF5
Formerly
_LOAD_MP_DLC_MAPS

Open in the interactive natives reference