16.03.2013, 18:21
Que script horrivel..
Deve ser isso.
pawn Код:
if (strcmp(cmd, "/admins", true) == 0) {
SendClientMessage(playerid, COLOR_ROSA, "• Administraзгo {00FFFF}Ultimate {00FF00}Life{FFFFFF} Online •");
for(new i = 0; i <= MAX_PLAYERS; i++) {
if(PlayerInfo[i][pAdmin] >= 1 && PlayerInfo[i][pAdmin] <= 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}"));
SendClientMessage(playerid, COLOR_GRAD1, string);
}
if(PlayerInfo[i][pAdmin] == 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}"));
SendClientMessage(playerid, COLOR_GRAD1, string);
}
if(PlayerInfo[i][pAdmin] == 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}"));
SendClientMessage(playerid, COLOR_GRAD1, string);
}
if(PlayerInfo[i][pAdmin] == 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}"));
SendClientMessage(playerid, COLOR_GRAD1, string);
}
if(PlayerInfo[i][pAdmin] == 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}"));
SendClientMessage(playerid, COLOR_GRAD1, string);
}
if(PlayerInfo[i][pAdmin] == 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}"));
SendClientMessage(playerid, COLOR_GRAD1, string);
}
if(PlayerInfo[i][pAdmin] == 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;
}