datadictSetString
DATADICT_SET_STRING0x8FF3847DADD8E30CThe GTA V native DATADICT_SET_STRING of the DATAFILE namespace, as LS:MP client scripts call it: the global function datadictSetString, in JavaScript and in Lua.
datadictSetString(objectData: null, key: string, value: string): voiddatadictSetString(objectData: nil, key: string, value: 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_SET_STRING(Any* objectData, const char* key, const char* value)- Hash
0x8FF3847DADD8E30C- Formerly
_OBJECT_VALUE_ADD_STRING