datadictGetVector
DATADICT_GET_VECTOR0x46CD3CB66E0825CCThe GTA V native DATADICT_GET_VECTOR of the DATAFILE namespace, as LS:MP client scripts call it: the global function datadictGetVector, in JavaScript and in Lua.
datadictGetVector(
objectData: null,
key: string
): { x: number, y: number, z: number }datadictGetVector(objectData: nil, key: string): Vector3✕
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
Vector3 DATADICT_GET_VECTOR(Any* objectData, const char* key)- Hash
0x46CD3CB66E0825CC- Formerly
_OBJECT_VALUE_GET_VECTOR3