22.08.2011, 17:03
Код:
for(new a; a < MAX_PLAYERS; a++) { new name[MAX_PLAYER_NAME], file[256]; GetPlayerName(a, name, sizeof(name)); format(file, sizeof(file), SERVER_USER_FILE, name); if(gPlayerLogged[a] == 1) { dini_IntSet(file, "Score", PlayerInfo[a][pScore]); dini_IntSet(file, "Money", PlayerInfo[a][pCash]); dini_IntSet(file, "Kicks", PlayerInfo[a][pKicks]); dini_IntSet(file, "Bans", PlayerInfo[a][pBans]); dini_IntSet(file, "Kills", PlayerInfo[a][pKills]); dini_IntSet(file, "Deaths", PlayerInfo[a][pDeaths]); dini_IntSet(file, "AdminLevel",PlayerInfo[a][pAdminLevel]); } gPlayerLogged[a] = 0; }