18.08.2012, 20:19
pawn Код:
if(strcmp(cmd, "/orgs", true) == 0 || strcmp(cmd, "/organizacoes", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 0)
{
if(admtrampando[playerid] < 0 && PlayerInfo[playerid][pAdmin] != 0 && PlayerInfo[playerid][pAdmin] != 0 && PlayerInfo[playerid][pAdmin] != 0)
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб trabalhando! (/administrar)");
return 1;
}
format(string, sizeof(string), "|______________ {FF7800}Organizaзхes do BGW{FFFFFF}______________|\n", "ByPauloTerroR");
format(string, sizeof(string), "%s{828282}Nє1 {FF8C00}Policia Militar: {828282}%s\n", string, InfoOrg[1][Lider]);
format(string, sizeof(string), "%s{828282}Nє2 {FF8C00}Bope: {828282}%s\n", string, InfoOrg[2][Lider]);
format(string, sizeof(string), "%s{828282}Nє3 {FF8C00}Exйrcito: {828282}%s\n", string, InfoOrg[3][Lider]);
format(string, sizeof(string), "%s{828282}Nє4 {FF8C00}Mйdicos: {828282}%s\n", string, InfoOrg[4][Lider]);
format(string, sizeof(string), "%s{828282}Nє5 {FF8C00}Los Aztecas: {828282}%s\n", string, InfoOrg[5][Lider]);
format(string, sizeof(string), "%s{828282}Nє6 {FF8C00}Taliban: {828282}%s\n", string, InfoOrg[6][Lider]);
format(string, sizeof(string), "%s{828282}Nє7 {FF8C00}Prefeito: {828282}%s\n", string, InfoOrg[7][Lider]);
format(string, sizeof(string), "%s{828282}Nє8 {FF8C00}Hitmans: {828282}%s\n", string, InfoOrg[8][Lider]);
format(string, sizeof(string), "%s{828282}Nє9 {FF8C00}Reporteres: {828282}%s\n", string, InfoOrg[9][Lider]);
format(string, sizeof(string), "%s{828282}Nє10 {FF8C00}Taxistas: {828282}%s\n", string, InfoOrg[10][Lider]);
format(string, sizeof(string), "%s{828282}Nє11 {FF8C00}Policia Federal: {828282}%s\n", string, InfoOrg[11][Lider]);
format(string, sizeof(string), "%s{828282}Nє12 {FF8C00}Mбfia Cosa Nostra: {828282}%s\n", string, InfoOrg[12][Lider]);
format(string, sizeof(string), "%s{828282}Nє13 {FF8C00}Mбfia Yakuza: {828282}%s\n", string, InfoOrg[13][Lider]);
format(string, sizeof(string), "%s{828282}Nє14 {FF8C00}Groove Street: {828282}%s\n", string, InfoOrg[14][Lider]);
format(string, sizeof(string), "%s{828282}Nє15 {FF8C00}Al'qaeda: {828282}%s\n", string, InfoOrg[15][Lider]);
format(string, sizeof(string), "%s{828282}Nє16 {FF8C00}Policia Civil: {828282}%s\n", string, InfoOrg[16][Lider]);
format(string, sizeof(string), "%s{828282}Nє17 {FF8C00}Ballas: {828282}%s\n", string, InfoOrg[17][Lider]);
format(string, sizeof(string), "%s{828282}Nє18 {FF8C00}Vagos: {828282}%s\n", string, InfoOrg[18][Lider]);
format(string, sizeof(string), "%s{828282}Nє19 {FF8C00}Comando Vermelho: {828282}%s\n", string, InfoOrg[19][Lider]);
format(string, sizeof(string), "%s{828282}Nє20 {FF8C00}Los tugas: {828282}%s\n", string, InfoOrg[20][Lider]);
format(string, sizeof(string), "%s{828282}Nє21 {FF8C00}Irmandade: {828282}%s\n", string, InfoOrg[21][Lider]);
format(string, sizeof(string), "%s{828282}Nє22 {FF8C00}Los Fortes: {828282}%s\n", string, InfoOrg[22][Lider]);
format(string, sizeof(string), "%s{828282}Nє23 {FF8C00}Bombeiros: {828282}%s\n", string, InfoOrg[23][Lider]);
ShowPlayerDialog(playerid, 1996, DIALOG_STYLE_MSGBOX, "Orgs", string, "Fechar", #);
}
}
return 1;
}