MiscClientBlocked

startSaveArrayWithSize

START_SAVE_ARRAY_WITH_SIZE0x60FE567DF1B1AF9D

The GTA V native START_SAVE_ARRAY_WITH_SIZE of the MISC namespace, as LS:MP client scripts call it: the global function startSaveArrayWithSize, in JavaScript and in Lua.

SignatureJavaScript
startSaveArrayWithSize(p0: null, size: number, arrayName: string): void
SignatureLua
startSaveArrayWithSize(p0: nil, size: integer, arrayName: 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
Misc MISC
In the game
void START_SAVE_ARRAY_WITH_SIZE(Any* p0, int size, const char* arrayName)
Hash
0x60FE567DF1B1AF9D
Formerly
_START_SAVE_ARRAY

Open in the interactive natives reference