24.10.2014, 16:32
Tenta aн, nao testei
pawn Код:
command(admins, playerid, params[])
{
new bool:conectado = false;
SendClientMessage(playerid, Azul,"Membros da Staff online:");
for(new i; i != MAX_PLAYERS; ++i)
{
if(PlayerInfo[i][pAdmin] >= 3 || IsPlayerAdmin(i))
{
conectado = true;
new string[50];
format(string,sizeof(string),"%s", Nome(i), playerid);
SendClientMessage(playerid,-1,string);
}
}
if(conectado == false) return SendClientMessage(playerid, -1, "[Erro]Nгo tem admins online");
return 1;
}