getting veh name
#6

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;
}
Try that.

Vehicle name is a string.


Read this.
https://sampwiki.blast.hk/wiki/Format
Reply


Messages In This Thread
getting veh name - by cnoopers - 07.07.2014, 16:51
Re : getting veh name - by Clad - 07.07.2014, 16:54
Re: getting veh name - by IceBilizard - 07.07.2014, 16:55
Re: getting veh name - by Konstantinos - 07.07.2014, 17:41
Re: getting veh name - by cnoopers - 07.07.2014, 18:01
Re: getting veh name - by TwinkiDaBoss - 07.07.2014, 18:03
Re: getting veh name - by cnoopers - 07.07.2014, 18:06
Re: getting veh name - by IceBilizard - 07.07.2014, 18:08
Re: getting veh name - by cnoopers - 07.07.2014, 18:11
Re: getting veh name - by cnoopers - 07.07.2014, 19:01

Forum Jump:


Users browsing this thread: 1 Guest(s)