28.02.2010, 19:24
(
Последний раз редактировалось aircombat; 08.04.2011 в 09:56.
)
Код:
//------------------------------------------------------------------------------ if (strcmp(cmd, "/admins", true) == 0) { new count = 0; SendClientMessage(playerid, GREEN, "______________________________________"); SendClientMessage(playerid, GREEN, " [Online Admins]"); for(new i = 0; i < MAX_PLAYERS; i++) { if (IsPlayerConnected(i)) { if(PlayerInfo[i][Level] >= 1 && PlayerInfo[i][Level] <= 5 && Hide[i] == 0) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 128, "Level %d [%i]%s", PlayerInfo[i][Level],i,sendername); SendClientMessage(playerid, LIGHTGREEN, string); count++; } } } if (count == 0) SendClientMessage(playerid,RED,"No Admins Online"); SendClientMessage(playerid, GREEN, "______________________________________"); return 1; } //------------------------------------------------------------------------------
________
Vaporizer Wholesaler