registerSaveHouse
REGISTER_SAVE_HOUSE0xC0714D0A7EEECA54The GTA V native REGISTER_SAVE_HOUSE of the MISC namespace, as LS:MP client scripts call it: the global function registerSaveHouse, in JavaScript and in Lua.
registerSaveHouse(
x: number,
y: number,
z: number,
p3: number,
p4: string,
p5: any,
p6: any
): numberregisterSaveHouse(
x: number,
y: number,
z: number,
p3: number,
p4: string,
p5: any,
p6: any
): integer✕
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
int REGISTER_SAVE_HOUSE(float x, float y, float z, float p3, const char* p4, Any p5, Any p6)- Hash
0xC0714D0A7EEECA54