05.06.2011, 00:51
Anyone can helpme ?
I am trying to show all the cars with AVenda in a DIALOG_STYLE_LIST
But doesn't work :L
Thanks a lot .
I am trying to show all the cars with AVenda in a DIALOG_STYLE_LIST
But doesn't work :L
pawn Код:
if(strcmp(cmd, "/felipe", true) == 0)
{
if(pLogado[playerid] > 0)
{
for(new i = 1; i < sizeof(CarInfo); ++i)
{
if(CarInfo[i][cAVenda] == 1) {
format(SkillBase, sizeof(SkillBase), "Veнculo a venda: Placa: LS-%i | Qtd de donos antigos: %i | Preзo; %i\n", i, CarInfo[i][cDonos], GetVehiclePrice(i));
ShowPlayerDialog(playerid,DIALOG_NADA,DIALOG_STYLE_MSGBOX,"FOREVER ALONE",string,"OK","");
}
return 0x1;
}
}
return 0x01;
}