14.01.2012, 08:59
OnPlayerDisconnect the scores are saved?
If yes, paste the saving part from OnPlayerDisconnect to OnFilterScriptExit. You will need the foreach.
If yes, paste the saving part from OnPlayerDisconnect to OnFilterScriptExit. You will need the foreach.
pawn Код:
public OnFilterScriptExit()
{
foreach(Player, i)
{
// Code Here
// Instead (ex:) PlayerInfo[playerid][Admin], use PlayerInfo[i][Admin]
}
// Rest
return 1;
}