04.01.2014, 15:48
Bom gente, preciso da ajuda de vocкs, para transformar SendClientMessage, Dialog_Style_List em Dialog_Styile_Msgbox.
Cуdigo do RG
Cуdigo das Org's
Quero transformar esses dois em Dialog_Style_Msgbox
Obrigado para quem ajudar !!
Cуdigo do RG
pawn Код:
{
format(gstring, sizeof(gstring),"|______________ RG de %s ______________|",name);
SendClientMessage(playerid, 0xC0C6EEAA,gstring);
}
format(gstring, sizeof(gstring), "Nivel:[%d] Idade:[%d] Sexo:[%s] Dinheiro:[R$%d] Banco:[R$%d] Ouros:[%d] Celular:[%d] ", level,PlayerInfo[targetid][pAge],atext, cash, Conta,PlayerInfo[targetid][pOuros], pnumber);
SendClientMessage(playerid, 0xC0C6EEAA,gstring);
format(gstring, sizeof(gstring), "Conta:[%s] Casado Com:[%s] Horas Jogadas:[%d] Emprego:[%s] Vida:[%.1f]", drank,married,ptime,jtext,shealth+50);
SendClientMessage(playerid, 0xC0C6EEAA,gstring);
format(gstring, sizeof(gstring), "Crimes Cometidos:[%d] Matou:[%d] Morreu:[%d] Loteria:[%d] Cidade:[%s]", crimes,kills,deaths,lotto, ytext );
SendClientMessage(playerid, 0xC0C6EEAA,gstring);
format(gstring, sizeof(gstring), "Prуximo Nivel:[R$%d] Respeito:[%d/%d] Doenзas:[%s] Nivel de Procura:[%d]",costlevel,exp,expquantidade,dtext, Wanted);
SendClientMessage(playerid, 0xC0C6EEAA,gstring);
format(gstring, sizeof(gstring), "Materiais:[%d] Safe Materiais:[%d] Organizaзгo:[%s] Cargo:[%s] Fome:[%s]",mats,smats,NomeORG(targetid),rtext, zztext);
SendClientMessage(playerid, 0xC0C6EEAA,gstring);
format(gstring, sizeof(gstring), "Maconha:[%d] Cocaina:[%d] Crack:[%d] Safe Maconha:[%d] Safe Cocaina:[%d] Safe Crack:[%d]",Drogas,Drogas2,Drogas3,SafeDrogas,SafeDrogas2,SafeDrogas3);
SendClientMessage(playerid, 0xC0C6EEAA,gstring);
pawn Код:
format(string, 128, " {FF0000}Policia Militar:{FFFFFF} %s\n", InfoOrg[1][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Rota:{FFFFFF} %s\n", InfoOrg[2][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Exercito:{FFFFFF} %s\n", InfoOrg[3][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}SAMU:{FFFFFF} %s\n", InfoOrg[4][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Los Aztecas:{FFFFFF} %s\n", InfoOrg[5][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Caipiras:{FFFFFF} %s\n", InfoOrg[6][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Prefeito:{FFFFFF} %s\n", InfoOrg[7][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Hitmans:{FFFFFF} %s\n", InfoOrg[8][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Reporter:{FFFFFF} %s\n", InfoOrg[9][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Taxista:{FFFFFF} %s\n", InfoOrg[10][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Policia Federal:{FFFFFF} %s\n", InfoOrg[11][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Groove Street:{FFFFFF} %s\n", InfoOrg[14][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}FARC:{FFFFFF} %s\n", InfoOrg[15][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Ballas:{FFFFFF} %s\n", InfoOrg[17][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Los Vagos:{FFFFFF} %s\n", InfoOrg[18][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Comando Vermelho:{FFFFFF} %s\n", InfoOrg[19][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}PCC:{FFFFFF} %s\n", InfoOrg[21][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Triads:{FFFFFF} %s\n", InfoOrg[22][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Guerrilheiros Israelitas:{FFFFFF} %s\n", InfoOrg[23][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Policia Rodoviбria:{FFFFFF} %s\n", InfoOrg[33][Lider]);
strcat(DialogBHR,string);
format(string, 128, " {FF0000}Secretaria de Seguranзa:{FFFFFF} %s\n", InfoOrg[34][Lider]);
strcat(DialogBHR,string);
ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_LIST, "Lista de Lнderes das Organizaзхes", DialogBHR, "OK","OK");
Obrigado para quem ajudar !!