MiscClientBlocked

startSaveStructWithSize

START_SAVE_STRUCT_WITH_SIZE0xBF737600CDDBEADD

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

SignatureJavaScript
startSaveStructWithSize(p0: null, size: number, structName: string): void
SignatureLua
startSaveStructWithSize(p0: nil, size: integer, structName: 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_STRUCT_WITH_SIZE(Any* p0, int size, const char* structName)
Hash
0xBF737600CDDBEADD
Formerly
_START_SAVE_STRUCT

Open in the interactive natives reference