SA-MP Forums Archive
Server restart:S - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Server restart:S (/showthread.php?tid=251172)



Server restart:S - Admigo - 25.04.2011

Heey guys

I have a problem when i do server restart(close server then open)
If i server restart the server the server dont saves money.
Anyone knows how to fix this?
I use Ladmin script

Thanks admigo


Re: Server restart:S - blackwave - 25.04.2011

Put the function from OnPlayerDisconnect on OnFilterScriptExit, switching playerid for
pawn Код:
v
pawn Код:
for(new v; v < MAX_PLAYERS; v++)
// Functions for v (variable), instead of playerid



Re: Server restart:S - Admigo - 25.04.2011

Can you give a better explain?