16.03.2013, 18:41
Teste este code .
Att DonSpeed
pawn Код:
if (strcmp(cmdtext, "/admins", true) == 0)
{
SendClientMessage(playerid, COLOR_ROSA, "• Administraзгo {00FFFF}Ultimate {00FF00}Life{FFFFFF} Online •");
for(new i = 0; i <= MAX_PLAYERS; i++)
{
switch(PlayerInfo[i][pAdmin])
{
case 1 .. 1336: format(string, 256, "{FFFFFF}Admin: {00FF7F}%s{FFFFFF} - Nivel: [{FFA500}%d{FFFFFF}] - Modo: [%s]",PlayerName(i),PlayerInfo[i][pAdmin],admtrampando[i] ? ("{FF1493}Trabalhando{FFFFFF}") : ("{FF1493}Jogando{FFFFFF}"));
case 1337: format(string, 256, "{FFFFFF}Admin: {00FF7F}%s{FFFFFF} - Nivel: [{FFA500}Gerente De Lнderes{FFFFFF}] - Modo: [%s]",PlayerName(i),admtrampando[i] ? ("{FF1493}Trabalhando{FFFFFF}") : ("{FF1493}Jogando{FFFFFF}"));
case 1338: format(string, 256, "{FFFFFF}Admin: {00FF7F}%s{FFFFFF} - Nivel: [{FFA500}Gerente De Ediзгo{FFFFFF}] - Modo: [%s]",PlayerName(i),admtrampando[i] ? ("{FF1493}Trabalhando{FFFFFF}") : ("{FF1493}Jogando{FFFFFF}"));
case 1339: format(string, 256, "{FFFFFF}Admin: {00FF7F}%s{FFFFFF} - Nivel: [{FFA500}Gerente Imobiliбrio{FFFFFF}] - Modo: [%s]",PlayerName(i),admtrampando[i] ? ("{FF1493}Trabalhando{FFFFFF}") : ("{FF1493}Jogando{FFFFFF}"));
case 2800: format(string, 256, "{FFFFFF}Admin: {00FF7F}%s{FFFFFF} - Nivel: [{FFA500}SUB-DONO{FFFFFF}] - Modo: [%s]",PlayerName(i),admtrampando[i] ? ("{FF1493}Trabalhando{FFFFFF}") : ("{FF1493}Jogando{FFFFFF}"));
case 2999: format(string, 256, "{FFFFFF}Admin: {00FF7F}%s{FFFFFF} - Nivel: [{FFA500}DONO{FFFFFF}] - Modo: [%s]",PlayerName(i),admtrampando[i] ? ("{FF1493}Trabalhando{FFFFFF}") : ("{FF1493}Jogando{FFFFFF}"));
case 3000: format(string, 256, "{FFFFFF}Admin: {00FF7F}%s{FFFFFF} - Nivel: [{FFA500}FUNDADOR{FFFFFF}] - Modo: [%s]",PlayerName(i),admtrampando[i] ? ("{FF1493}Trabalhando{FFFFFF}") : ("{FF1493}Jogando{FFFFFF}"));
}
}
SendClientMessage(playerid, COLOR_GRAD1, string);
return 1;
}