20.06.2014, 18:41
Use uma loop:
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(Variavel[i] >= 1)
{
new nome[24],string[100];
GetPlayerName(i, nome, 24);
format(string, sizeof string, "%s ID %d Admin Level %d", nome,i,Variavel[playerid]);
}
}
}