[Pedido] Ajuda pf
#1

Oi, eu gostaria de deixar o /orgs em dialog sу q isso eu n sei ... se for possivel podem me ajudar ?
ai estбr o meu /orgs .

pawn Код:
if(strcmp(cmd, "/orgs", true) ==0 || strcmp(cmd, "/orgs", true) ==0)
    {
        SendClientMessage(playerid, COLOR_WHITE, "|______|Lideres das Organizaзхes|______|");
        format(string, sizeof(string), "Policia Militar:(1)%s", InfoOrg[1][Lider]);
        SendClientMessage(playerid, COR_PM, string);
        format(string, sizeof(string), "B.O.P.E:(2)%s", InfoOrg[2][Lider]);
        SendClientMessage(playerid, COR_BOPE, string);
        format(string, sizeof(string), "Exйrcito:(3)%s", InfoOrg[3][Lider]);
        SendClientMessage(playerid, COR_EXE, string);
        format(string, sizeof(string), "SA:MU:(4)%s", InfoOrg[4][Lider]);
        SendClientMessage(playerid, COR_SAMU, string);
        format(string, sizeof(string), "Los Aztecas:(5)%s", InfoOrg[5][Lider]);
        SendClientMessage(playerid, COR_AZTECAS, string);
        format(string, sizeof(string), "Taliban:(6)%s", InfoOrg[6][Lider]);
        SendClientMessage(playerid, COR_TAL, string);
        format(string, sizeof(string), "Prefeitura:(7)%s", InfoOrg[7][Lider]);
        SendClientMessage(playerid, COR_PRE, string);
        format(string, sizeof(string), "Hitmans:(8)%s", InfoOrg[8][Lider]);
        SendClientMessage(playerid, COR_HITMAN, string);
        format(string, sizeof(string), "Reporters:(9)%s", InfoOrg[9][Lider]);
        SendClientMessage(playerid, COR_REP, string);
        format(string, sizeof(string), "Taxistas:(10)%s", InfoOrg[10][Lider]);
        SendClientMessage(playerid, COR_TAXI, string);
        format(string, sizeof(string), "Policia Federal:(11)%s", InfoOrg[11][Lider]);
        SendClientMessage(playerid, COR_PF, string);
        format(string, sizeof(string), "Mбfia Cosa Nostra:(12)%s", InfoOrg[12][Lider]);
        SendClientMessage(playerid, COR_COSA, string);
        format(string, sizeof(string), "Mбfia Yakuza:(13)%s", InfoOrg[13][Lider]);
        SendClientMessage(playerid, COR_YAK, string);
        format(string, sizeof(string), "Groove Street:(14)%s", InfoOrg[14][Lider])  ;
        SendClientMessage(playerid, COR_GRO, string);
        format(string, sizeof(string), "Al'qaeda:(15)%s", InfoOrg[15][Lider]);
        SendClientMessage(playerid, COR_AL, string);
        format(string, sizeof(string), "Policia Civil:(16)%s", InfoOrg[16][Lider]);
        SendClientMessage(playerid, COR_PC, string);
        format(string, sizeof(string), "Ballas:(17)%s", InfoOrg[17][Lider]);
        SendClientMessage(playerid, COR_BALLAS, string);
        format(string, sizeof(string), "Los Vagos:(18)%s", InfoOrg[18][Lider]);
        SendClientMessage(playerid, COR_VAGOS, string);
        format(string, sizeof(string), "Comando Vermelho:(19)%s", InfoOrg[19][Lider]);
        SendClientMessage(playerid, COR_CVRL, string);
        format(string, sizeof(string), "Primeiro Comando da Capital: (20)%s", InfoOrg[20][Lider]);
        SendClientMessage(playerid, COR_PCC, string);
        SendClientMessage(playerid,COLOR_WHITE, "{FFFFFF}Mercenarios");
        format(string, sizeof(string), "Sons of Anarchy:(21)%s", InfoOrg[21][Lider]);
        SendClientMessage(playerid, COR_SONS, string);
        format(string, sizeof(string), "Mayans:(22)%s", InfoOrg[22][Lider]);
        SendClientMessage(playerid, COR_MAYANS, string);
        format(string, sizeof(string), "Interpol:(23)%s", InfoOrg[23][Lider]);
        SendClientMessage(playerid, COR_INTERPOL, string);
        format(string, sizeof(string), "Mecanicos:(24)%s", InfoOrg[24][Lider]);
        SendClientMessage(playerid, COR_MECANICO, string);
    return 1;
    }
Reply
#2

Tenta ai, peguei de um outro server.
pawn Код:
if (strcmp("/orgs", cmdtext, true, 10) == 0)
    {
        new DialogDiDi[1500];
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}1 - Policia Militar: {828282}%s ",DialogDiDi, InfoOrg[1][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}2 - ROTA: {828282}%s ",DialogDiDi, InfoOrg[2][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}3 - Exercito: {828282}%s ",DialogDiDi, InfoOrg[3][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}4 - SAMU: {828282}%s ",DialogDiDi, InfoOrg[4][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}5 - Los Aztecas: {828282}%s ",DialogDiDi, InfoOrg[5][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}6 - Taliban: {828282}%s ",DialogDiDi, InfoOrg[6][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}7 - Prefeito: {828282}%s ",DialogDiDi, InfoOrg[7][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}8 - Hitmans: {828282}%s ",DialogDiDi, InfoOrg[8][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}9 - Reporteres: {828282}%s ",DialogDiDi, InfoOrg[9][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}10 - Taxista: {828282}%s ",DialogDiDi, InfoOrg[10][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}11 - Policia Federal: {828282}%s ",DialogDiDi, InfoOrg[11][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}12 - Mбfia Cosa Nostra: {828282}%s ",DialogDiDi, InfoOrg[12][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}13 - Mбfia Yakuza: {828282}%s ",DialogDiDi, InfoOrg[13][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}14 - Groove Street: {828282}%s ",DialogDiDi, InfoOrg[14][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}15 - Al'qaeda: {828282}%s ",DialogDiDi, InfoOrg[15][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}16 - Polнcia Civil: {828282}%s ",DialogDiDi, InfoOrg[16][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}17 - Ballas: {828282}%s ",DialogDiDi, InfoOrg[17][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}18 - Los Vagos: {828282}%s ",DialogDiDi, InfoOrg[18][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}19 - Comando Vermelho: {828282}%s ",DialogDiDi, InfoOrg[19][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}20 - PCC: {828282}%s ",DialogDiDi, InfoOrg[20][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}21 - Midnight Club: {828282}%s ",DialogDiDi, InfoOrg[21][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}22 - Sons Of Anarchy: {828282}%s ",DialogDiDi, InfoOrg[22][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}23 - COE: {828282}%s ",DialogDiDi, InfoOrg[23][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}24 - Bombeiros: {828282}%s ",DialogDiDi, InfoOrg[24][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}25 - Detran: {828282}%s ",DialogDiDi, InfoOrg[25][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}26 - Drifters: {828282}%s ",DialogDiDi, InfoOrg[26][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}27 - Mendigos: {828282}%s ",DialogDiDi, InfoOrg[27][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}28 - PlayBoys: {828282}%s ",DialogDiDi, InfoOrg[28][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}29 - asFARC: {828282}%s ",DialogDiDi, InfoOrg[29][Lider]);
        format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}30 - Guerrilheiros Israelitas: {828282}%s ",DialogDiDi, InfoOrg[30][Lider]);
        ShowPlayerDialog(playerid, 8723, DIALOG_STYLE_MSGBOX, "{828282}Organizaзхes", DialogDiDi, "Fechar", "");
        return 1;
    }
Agora й sу adaptar para o seu!
Reply
#3

poderia me dizer como q eu troco a cor do /orgs ? n to conseguindo
Reply
#4

pawn Код:
format(DialogDiDi, sizeof(DialogDiDi),"%s\n {FF8C00}1 - Policia Militar: {828282}%s ",DialogDiDi, InfoOrg[1][Lider]);
Ali onde estб {FF8C00} vocк coloca a cor que vocк quer

Escolha ela aqui
http://www.colorpicker.com/
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)