08.06.2017, 17:52
PHP код:
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]);
SendFormattedMessageToAll(COR_PRINCIPAL, "Top Rank » {FFFFFF}%s й o mas viciado do servidor, com %d de Level!",getPName(i),getrank("Score", "Level"));
return 1;
}
}
}