dataarrayGetVector
DATAARRAY_GET_VECTOR0x8D2064E5B64A628AThe GTA V native DATAARRAY_GET_VECTOR of the DATAFILE namespace, as LS:MP client scripts call it: the global function dataarrayGetVector, in JavaScript and in Lua.
dataarrayGetVector(
arrayData: null,
arrayIndex: number
): { x: number, y: number, z: number }dataarrayGetVector(arrayData: nil, arrayIndex: integer): 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 DATAARRAY_GET_VECTOR(Any* arrayData, int arrayIndex)- Hash
0x8D2064E5B64A628A- Formerly
_ARRAY_VALUE_GET_VECTOR3