SA-MP Forums Archive
Locker system not saving! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Locker system not saving! (/showthread.php?tid=535741)



Locker system not saving! - Jigsaw123 - 05.09.2014

Heyya

I have United Roleplay Two, and the Locker system doesn't save after RESTART. So when i RESTART The server, I have to Re-DO all the Lockers. :[ Anyone have a fixed version or anyone know how to fix it?


Re: Locker system not saving! - Dignity - 05.09.2014

Use timers or make your lockers save inline whenever a change is made.

I'll just assume you save the lockers under OnGameModeExit, which does not get called if you GMX. Find an alternative if <- is the case.