The FiveM developer’s field guide
Know the native.
Build the world.
Engine functions, framework docs, and game assets.
One reference. From the first lookup to the last line.
knowledge base
Explore / FiveM
Native reference
- DLCBOOL
0x241FCA5B1AA14F75
``` Only used once in scripts, in maintransition. maintransition.c4, line ~82432: if (PED::_7350823473013C02(PLAYER::PLAYER_PED_ID()) && (DECORATOR::_241FCA5B1AA14F75() == 0)) { g_2542A5 = a_1; // 'g_2542A5' used in 'building_controller.ysc' for IPL stuff? return 1; } Likely used solely for the players ped. The function it's in seems to only be used for initialization/quitting. Called among natives to discard scaleforms, disable frontend, fading in/out, etc. Neighboring strings to some calls include "HUD_JOINING", "HUD_QUITTING". Most likely ARE_* ```
0x241FCA5B1AA14F75 - DLCBOOL
0x9489659372A81585
Description not yet documented
0x9489659372A81585 - DLCBOOL
0xA213B11DFF526300
Description not yet documented
0xA213B11DFF526300 - DLCBOOL
0xC4637A6D03C24CC3
GET_IS_LOADING_\* ``` NativeDB Introduced: v1734 ```
0xC4637A6D03C24CC3 - DLCBOOL
0xF2E07819EF1A5289
Description not yet documented
0xF2E07819EF1A5289 - DLCBOOL
_GET_EXTRA_CONTENT_PACK_HAS_BEEN_INSTALLED
Description not yet documented
0x8D30F648014A92B5 - DLCBOOL
GET_IS_LOADING_SCREEN_ACTIVE
When loading in, returns true until [`SHUTDOWN_LOADING_SCREEN`](#\_0x078EBE9809CCD637) was called. Note that this is referring to the game's loading screen, not the NUI loadingscreen and is therefore not impacted by [loadscreen_manual_shutdown](https://docs.fivem.net/docs/scripting-reference/resource-manifest/resource-manifest/#loadscreen_manual_shutdown).
0x10D0A8F259E93EC9 - DLCBOOL
HAS_CLOUD_REQUESTS_FINISHED
``` Sets the value of the specified variable to 0. Always returns true. ```
0x46E2B844905BC5F0 - DLCBOOL
IS_DLC_PRESENT
``` Example: DLC::IS_DLC_PRESENT($\mpbusiness2\); ($ = gethashkey) bruteforce these: 0xB119F6D 0x96F02EE6 ```
0x812595A0644CE1DE - DLCvoid
ON_ENTER_MP
``` 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: SET_INSTANCE_PRIORITY_MODE(1); ```
0x0888C3502DBBEEF5 - DLCvoid
ON_ENTER_SP
``` Unloads GROUP_MAP (GTAO/MP) DLC data and loads GROUP_MAP_SP DLC. Neither are loaded by default, 0888C3502DBBEEF5 is a cognate to this function and loads MP DLC (and unloads SP DLC by extension). The original (and wrong) definition is below: This unload the GTA:O DLC map parts (like high end garages/apartments). Works in singleplayer. ```
0xD7C10C4A637992C9
A living reference. Documentation coverage varies by native and source.