datadictSetFloat
DATADICT_SET_FLOAT0xC27E1CC2D795105EThe GTA V native DATADICT_SET_FLOAT of the DATAFILE namespace, as LS:MP client scripts call it: the global function datadictSetFloat, in JavaScript and in Lua.
datadictSetFloat(objectData: null, key: string, value: number): voiddatadictSetFloat(objectData: nil, key: string, value: number)✕
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_FLOAT(Any* objectData, const char* key, float value)- Hash
0xC27E1CC2D795105E- Formerly
_OBJECT_VALUE_ADD_FLOAT