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.