Problem with dialog [ REP ++] easy but hard to me
#12

Quote:
Originally Posted by PabLo98
Посмотреть сообщение
Try this code below, and just modify the messages.

pawn Код:
CMD:myvehicles(playerid,params[])
{
                new StatsMsg[1000];
                new TitleMsg[128];

                format(StatsMsg, 1000, "Model: %s\n", VehicleNames[playerVariables[playerid][pCarModel1] - 400]);
                format(StatsMsg, 1000, "Model: %s\n", VehicleNames[playerVariables[playerid][pCarModel1] - 400]);
                format(StatsMsg, 1000, "Model: %s\n", VehicleNames[playerVariables[playerid][pCarModel1] - 400]);
                format(TitleMsg, 128, "Your personal vehicles");
                ShowPlayerDialog(playerid, DialogStats, DIALOG_STYLE_LIST, TitleMsg, StatsMsg, "Ok", "Close");
        return 1;

}
It's showing to me only the first vehicle model.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)