MiscClientBlocked

getSizeOfSaveData

GET_SIZE_OF_SAVE_DATA0xA09F896CE912481F

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

SignatureJavaScript
getSizeOfSaveData(p0: boolean): number
SignatureLua
getSizeOfSaveData(p0: boolean): integer
✕
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
int GET_SIZE_OF_SAVE_DATA(BOOL p0)
Hash
0xA09F896CE912481F

Open in the interactive natives reference