21.04.2011, 16:31
pawn Код:
if(strcmp("/admins", cmdtext, true) == 0)
{
new string[128];
new nome[MAX_PLAYER_NAME];
SendClientMessage(playerid, COR, "- Administradores -");
for(new i = 0; i <= MAX_PLAYERS; i++)
{
if(IsPlayerAdmin(playerid))
{
GetPlayerName(i, nome, sizeof(nome));
if(IsPlayerAdmin(playerid))
{
format(string, 256, "Nick: %s [PROPRIETБRIO]", nome);
SendClientMessage(playerid, COR, string);
}
}
}
return 1;
}