12.10.2011, 20:00
tenta:
pawn Код:
if(!strcmp(cmdtext, "/admins", true))
{
SendClientMessage(playerid, COLOR_WHITE, "|______________ Admins Online ______________|");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pAdmin] > 0)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string, 256, "{33AA33}%s {AA3333}| Level: %d |", sendername, PlayerInfo[i][pAdmin]);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
}
}
}
return 1;
}