29.06.2014, 12:49
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i)) continue;
GetPlayerName(i,n,sizeof(n));
if(IsPlayerAdmin(i))
{
format(string, sizeof(string), "%s%s (ID: %d) RCON Admin\n", string, n, i);
}
else if(PlayerInfo[i][Level] >= 1)
{
format(string,sizeof(string),"%sLevel %d: %s (ID: %d) - %s\n", string, PlayerInfo[i][Level], n, i, GetRankFromLevel(i));
}
Count++;
}