08.06.2017, 18:28
Код:
forward RankGlobal(); public RankGlobal() { foreach(Player, i) { if(IsPlayerConnected(i)) { checkrank("Score", getPName(i), GetPlayerScore(i)); checkrank("Kill", getPName(i), Player[i][pMatou]); checkrank("Money", getPName(i), GetPlayerMoney(i)); checkrank("DueloW", getPName(i), wDuelos[i]); checkrank("DueloL", getPName(i), lDuelos[i]); checkrank("Procurado", getPName(i), Player[i][pProcurado]); checkrank("Hits", getPName(i), Player[i][pRpt]); checkrank("MotoHits", getPName(i), Player[i][pHitsMtx]); checkrank("Vips", getPName(i), Player[i][VIPExpira]); new string[128]; format(string,sizeof(string),"Top Rank » %s й o mais viciado do servidor, com %d de level!",getPName(i),getrank("Score", "Level")); SendClientMessageToAll(0xFD4F3596,string); return 1; } } }