18.11.2010, 19:25
tenta:
pawn Код:
dcmd_admins(playerid, params[]
{
#pragma unused params
for(new i = 0; i < GetMaxPlayers(); ++i)
{
if(IsPlayerConnected(i))//PlayerInfo[v][Level] > 1
{
if(IsPlayerAdmin(i))
{
new
string[128],
Nome[MAX_PLAYER_NAME]
;
GetPlayerName(i, Nome, sizeof(Nome));
format(string, sizeof(string),"Adminstradores On-Line:%s\n",Nome);
SendClientMessage(playerid, AZUL, string); PlayerPlaySound(playerid, 1083, 0.0, 0.0, 0.0);
}
else
{
SendClientMessage(playerid, COR,"Nenhum Adminstrador Connectedd.");
}
else
{
SendClientMessage(playerid, COR,"Nenhum Adminstrador Connectedd.");
}
}
return 1;
}