if(targetid == playerid)
{
format(gstring, sizeof(gstring),"~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~ .:: Seu RG {FFA4FF}%s{FF8000} ::. ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~",name);
SendClientMessage(playerid, CORS,gstring);
}
else
{
format(gstring, sizeof(gstring),"~.~.~.~.~.~.~.~.~.~.~.~.~.~ RG de %s ~.~.~.~.~.~.~.~.~.~.~.~.~.~",name);
SendClientMessage(playerid, COLOR_WHITE,gstring);
}
format(gstring, sizeof(gstring), "Nivel:[%d] Sexo:[%s] Vida:[%.1f] Dinheiro:[R$%d] Banco:[R$%d] Celular:[%d]", level,atext,shealth+50, cash, Conta, pnumber);
SendClientMessage(playerid, 0x80FF80AA,gstring);
format(gstring, sizeof(gstring), "Conta:[%s] Casado Com:[%s] Horas Jogadas:[%d] Profissгo Secundaria:[%s]", RankVip,PlayerInfo[targetid][pMarriedTo],ptime,jtext);
SendClientMessage(playerid, 0x00FFFFAA,gstring);
format(gstring, sizeof(gstring), "Peixes:[%d] Maior Peixe:[%d] Crimes Cometidos:[%d] Matou:[%d] Morreu:[%d]", fishes,bigfish,crimes,kills,deaths );
SendClientMessage(playerid, 0x80FF80AA,gstring);
format(gstring, sizeof(gstring), "Prуximo Nivel:[R$%d] Respeito:[%d/%d] Doenзas:[%s] ",costlevel,exp,expquantidade,dtext);
SendClientMessage(playerid, 0x00FFFFAA,gstring);
format(gstring, sizeof(gstring), "Materiais:[%d] Safe Materiais:[%d] Organizaзгo:[%s] Cargo:[%s]",mats,smats,NomeORG(targetid),OrgCargo(targetid));
SendClientMessage(playerid, 0x80FF80AA,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, 0x00FFFFAA,gstring);
format(gstring, sizeof(gstring), "Chave De Casa:[%d] Chave Da Empresa:[%d] Chave Do Carro(Aluguel):[%d] Interior:[%d] Local:[%d]", Housekey,bizkey,HireCar[targetid],intir,local);
SendClientMessage(playerid, 0x80FF80AA,gstring);
format(gstring, sizeof(gstring), "Veнculo:[%s, Placa(%d)] Nivel de Procurado:[%d] ", CarroDono,IdcarroD,WantedPoints[targetid]);
SendClientMessage(playerid, 0x00FFFFAA,gstring);
/*format(gstring, sizeof(gstring), "Veiculo 1[%d] Veiculo 2[%d] Veiculo 3[%d] Nivel de Procurado [%d]", ChaveCarro, ChaveCarro2, ChaveCarro3, WantedPoints[targetid]);
SendClientMessage(playerid, 0x00FFFFAA,gstring);*/
}
}
new string[750], titulo[128];
if(targetid == playerid)
{
format(titulo, sizeof(titulo),"Seu RG {FFA4FF}%s{FF8000}", name);
}
else
{
format(titulo, sizeof(titulo),"RG de %s", name);
}
format(string, sizeof(string), "Nivel:[%d] Sexo:[%s] Vida:[%.1f] Dinheiro:[R$%d] Banco:[R$%d] Celular:[%d]", level,atext,shealth+50, cash, Conta, pnumber);
format(string, sizeof(string), "%s\nConta:[%s] Casado Com:[%s] Horas Jogadas:[%d] Profissгo Secundaria:[%s]", string, RankVip,PlayerInfo[targetid][pMarriedTo],ptime,jtext);
format(string, sizeof(string), "%s\nPeixes:[%d] Maior Peixe:[%d] Crimes Cometidos:[%d] Matou:[%d] Morreu:[%d]", string, fishes,bigfish,crimes,kills,deaths );
format(string, sizeof(string), "%s\nPrуximo Nivel:[R$%d] Respeito:[%d/%d] Doenзas:[%s] ", string, costlevel,exp,expquantidade,dtext);
format(string, sizeof(string), "%s\nMateriais:[%d] Safe Materiais:[%d] Organizaзгo:[%s] Cargo:[%s]", string, mats,smats,NomeORG(targetid),OrgCargo(targetid));
format(string, sizeof(string), "%s\nMaconha:[%d] Cocaina:[%d] Crack:[%d] Safe Maconha:[%d] Safe Cocaina:[%d] Safe Crack:[%d]", string, Drogas,Drogas2,Drogas3,SafeDrogas,SafeDrogas2,SafeDrogas3);
format(string, sizeof(string), "%s\nChave De Casa:[%d] Chave Da Empresa:[%d] Chave Do Carro(Aluguel):[%d] Interior:[%d] Local:[%d]", string, Housekey,bizkey,HireCar[targetid],intir,local);
format(string, sizeof(string), "%s\nVeнculo:[%s, Placa(%d)] Nivel de Procurado:[%d] ", string, CarroDono,IdcarroD,WantedPoints[targetid]);
ShowPlayerDialog(playerid, ShowOnly, DIALOG_STYLE_MSGBOX, titulo, string, "Fechar", "");
}
Tente:
pawn Код:
|
Negativo, todos os formats com a string irгo aparecer, pois um armazena o outro, e o ъltimo й o que armazena todas.
|
Ja testou? uma format ira ficar em cima da outra, no fim sу a ultima aparecera
|