MiscClientBlocked

registerInt64ToSave

REGISTER_INT64_TO_SAVE0xA735353C77334EA0

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

SignatureJavaScript
registerInt64ToSave(p0: null, name: string): void
SignatureLua
registerInt64ToSave(p0: nil, name: 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 REGISTER_INT64_TO_SAVE(Any* p0, const char* name)
Hash
0xA735353C77334EA0
Formerly
_REGISTER_INT64_TO_SAVE

Open in the interactive natives reference