10.09.2011, 09:41
Create a costum server restart command f.e:
pawn Code:
new bool:gmx;
CMD:restart(playerid,params[])
{
saveallaccount();
gmx++;
SendRConCommand("gmx");
return 1;
}
public OnPlayerDisconnect(playerid,reason)
{
if(gmx) return 1;
//saving thinghy
return 1;
}