Quote:
Originally Posted by FailerZ
Use this to loop through all the players:
PHP код:
//Under OnGameModeInit
for(new i = 0, j = GetPlayerPoolSize(); i <= j; i++)
{
//Do your saving stuff here
}
If you don't know how to get your saving stuff post your OnPlayerDisconnect code and I will tell you.
About your death score, Maybe you forget to increase the death variable under OnPlayerDeath or you are increasing it only if the ID of the killerid is valid (which won't trigger if player suicide).
|
I have disconnect saving stats, It's also need save my stats after restart? or need commands to save stats after restart also?