Data filesClientBlocked

datafileLoadOfflineUgcForAdditionalDataFile

DATAFILE_LOAD_OFFLINE_UGC_FOR_ADDITIONAL_DATA_FILE0xA6EEF01087181EDD

The GTA V native DATAFILE_LOAD_OFFLINE_UGC_FOR_ADDITIONAL_DATA_FILE of the DATAFILE namespace, as LS:MP client scripts call it: the global function datafileLoadOfflineUgcForAdditionalDataFile, in JavaScript and in Lua.

SignatureJavaScript
datafileLoadOfflineUgcForAdditionalDataFile(p0: any, p1: any): boolean
SignatureLua
datafileLoadOfflineUgcForAdditionalDataFile(p0: any, p1: any): boolean
✕
Blocked for scripts: Raw memory and structures

This native reads or fills a memory structure a script has no way to provide, so it is not callable. For entity lists, use lsmp.getGamePool. For JSON, use lsmp.json.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Data files DATAFILE
In the game
BOOL DATAFILE_LOAD_OFFLINE_UGC_FOR_ADDITIONAL_DATA_FILE(Any p0, Any p1)
Hash
0xA6EEF01087181EDD
Introduced
Game build 2189 legacy numbering

Open in the interactive natives reference