25.09.2010, 13:32
Nao aparece os admins que tao online
o meu й o thug 2.6
o meu й o thug 2.6
Код:
if (strcmp(cmd, "/admins", true) == 0) { SendClientMessage(playerid, 0xFF00FF96, "|~x Admins do Server x~|"); for(new i = 0; i <= MAX_PLAYERS; i++) { if(IsPlayerConnected(i) == 1 && PlayerInfo[i][pAdmin] > 0) { if(admtrampando[i] == 1) { GetPlayerName(i, sendername, sizeof(sendername)); if(PlayerInfo[i][pAdmin] == 1) { format(string, 256, "Nome: %s [Moderador]", sendername); SendClientMessage(playerid, 0xF6AD00AA, string); } if(PlayerInfo[i][pAdmin] >= 2 && PlayerInfo[i][pAdmin] < 1337) { format(string, 256, "Nome: %s [Administrador]", sendername); SendClientMessage(playerid, 0xF6AD00AA, string); } if(PlayerInfo[i][pAdmin] == 2000) { format(string, 256, "Nome: %s [Administrador Master]", sendername); SendClientMessage(playerid, 0xF6AD00AA, string); } if(PlayerInfo[i][pAdmin] == 3000) { format(string, 256, "Nome: %s [Administrador Diretor]", sendername); SendClientMessage(playerid, 0xF6AD00AA, string); } if(PlayerInfo[i][pAdmin] == 4000) { format(string, 256, "Nome: %s [Administrador Sub-Dono]", sendername); SendClientMessage(playerid, 0x00BFFFAA, string); } if(PlayerInfo[i][pAdmin] == 5000) { format(string, 256, "Nome: %s [Dono]", sendername); SendClientMessage(playerid, 0x00BFFFAA, string); } if(PlayerInfo[i][pAdmin] > 5000) { } }