07.07.2014, 18:03
pawn Код:
CMD:v(playerid, params[])
{
new string[32];
format(string, sizeof(string), "%s\n%s\n%s\n%s\n%s\n", GetVehicleName(Veh1[playerid]), GetVehicleName(Veh2[playerid]), GetVehicleName(Veh3[playerid]), GetVehicleName(Veh4[playerid]), GetVehicleName(Veh5[playerid]));
ShowPlayerDialog(playerid, DIALOG_VEHICLES, DIALOG_STYLE_LIST, "Vehicle list", string, "Select", "Close");
return 1;
}
Vehicle name is a string.
Read this.
https://sampwiki.blast.hk/wiki/Format