datadictCreateArray
DATADICT_CREATE_ARRAY0x5B11728527CA6E5FThe GTA V native DATADICT_CREATE_ARRAY of the DATAFILE namespace, as LS:MP client scripts call it: the global function datadictCreateArray, in JavaScript and in Lua.
datadictCreateArray(objectData: null, key: string): voiddatadictCreateArray(objectData: nil, key: string)✕
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
void DATADICT_CREATE_ARRAY(Any* objectData, const char* key)- Hash
0x5B11728527CA6E5F- Formerly
_OBJECT_VALUE_ADD_ARRAY