setSaveHouse
SET_SAVE_HOUSE0x4F548CABEAE553BCThe GTA V native SET_SAVE_HOUSE of the MISC namespace, as LS:MP client scripts call it: the global function setSaveHouse, in JavaScript and in Lua.
setSaveHouse(savehouseHandle: number, p1: boolean, p2: boolean): voidsetSaveHouse(savehouseHandle: integer, p1: boolean, p2: boolean)✕
Blocked for scripts: Saves and game flow
Scripts cannot save, load or restart the game. For persistent data, use storage.
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 SET_SAVE_HOUSE(int savehouseHandle, BOOL p1, BOOL p2)- Hash
0x4F548CABEAE553BC