20.12.2012, 21:05
Voces podem me ajuda, meu GM tem o comando /orgs em modo lista e eu gostaria de passar ele para o dialog e ele continue informando os lideres e as orgs
esse e o codigo pwn .
me ajudem!!
esse e o codigo pwn .
PHP код:
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;
}
SendClientMessage(playerid, COLOR_WHITE, "|______________ {FF7800}Organizaзхes do BVO{FFFFFF}______________|");
format(string, sizeof(string), "{828282}Nє1 {FF8C00}Policia Militar: {828282}%s", InfoOrg[1][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє2 {FF8C00}Bope: {828282}%s", InfoOrg[2][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє3 {FF8C00}Exйrcito: {828282}%s", InfoOrg[3][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє4 {FF8C00}Mйdicos: {828282}%s", InfoOrg[4][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє5 {FF8C00}Los Aztecas: {828282}%s", InfoOrg[5][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє6 {FF8C00}Taliban: {828282}%s", InfoOrg[6][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє7 {FF8C00}Prefeito: {828282}%s", InfoOrg[7][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє8 {FF8C00}Hitmans: {828282}%s", InfoOrg[8][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє9 {FF8C00}Reporteres: {828282}%s", InfoOrg[9][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє10 {FF8C00}Taxistas: {828282}%s", InfoOrg[10][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє11 {FF8C00}Policia Federal: {828282}%s", InfoOrg[11][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє12 {FF8C00}Mбfia Cosa Nostra: {828282}%s", InfoOrg[12][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє13 {FF8C00}Mбfia Yakuza: {828282}%s", InfoOrg[13][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє14 {FF8C00}Groove Street: {828282}%s", InfoOrg[14][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє15 {FF8C00}Al'qaeda: {828282}%s", InfoOrg[15][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє16 {FF8C00}Policia Civil: {828282}%s", InfoOrg[16][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє17 {FF8C00}Ballas: {828282}%s", InfoOrg[17][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє18 {FF8C00}Vagos: {828282}%s", InfoOrg[18][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє19 {FF8C00}Comando Vermelho: {828282}%s", InfoOrg[19][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє20 {FF8C00}Los tugas: {828282}%s", InfoOrg[20][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє21 {FF8C00}Irmandade: {828282}%s", InfoOrg[21][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє22 {FF8C00}Los Fortes: {828282}%s", InfoOrg[22][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє23 {FF8C00}Bombeiros: {828282}%s", InfoOrg[23][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
/*format(string, sizeof(string), "{828282}Nє25 {FF8C00}The Killers: {828282}%s", InfoOrg[25][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє26 {FF8C00}Policia Militar LV: {828282}%s", InfoOrg[26][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє27 {FF8C00}Mendigos: {828282}%s", InfoOrg[27][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє28 {FF8C00}Bope : {828282}%s", InfoOrg[28][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє29 {FF8C00}Embreve: {828282}%s", InfoOrg[29][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);
format(string, sizeof(string), "{828282}Nє30 {FF8C00}Policia Federal: {828282}%s", InfoOrg[30][Lider]);
MSGPLAYER(playerid, COLOR_AZULBB, string);*/
}
}
return 1;
}