3dtextlabel
#5

You close the parenthesis so it takes only the name from the VehNames array as argument.

pawn Код:
format(str,128,"\"%s\"\the owner is %s",VehNames[GetVehicleModel(vehicleid)-400],GetName(playerid));
By the way, check if the vehicle exists before subtracting 400 from it otherwise you'll get run time error 4.
Reply


Messages In This Thread
3dtextlabel - by Xeinss - 15.06.2014, 08:39
Re: 3dtextlabel - by MacT - 15.06.2014, 08:53
Re: 3dtextlabel - by Xeinss - 15.06.2014, 09:00
Re: 3dtextlabel - by Xeinss - 15.06.2014, 16:19
Re: 3dtextlabel - by Konstantinos - 15.06.2014, 16:23

Forum Jump:


Users browsing this thread: 2 Guest(s)