SA-MP Forums Archive
[HELP]Not Showing Car Name... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]Not Showing Car Name... (/showthread.php?tid=404033)



[HELP]Not Showing Car Name... - KomplettMaster - 01.01.2013

Hey
When I Enter Vehicle Car Name Not Shows:/

Here Its Picture When You Se Vehicle : andcarnamehere


Can Someone Help Me With It?
The Code :
http://pastebin.com/hZMeUmpt


Re: [HELP]Not Showing Car Name... - LetsOWN[PL] - 01.01.2013


pawn Код:
format(str, sizeof(str), "%s", VehicleNames[model - 400]); //store the vehicle's name
    TextDrawShowForPlayer(playerid, VehicleName);
    TextDrawSetString(VehicleName, str); // ???
PS. I would recomend you to make 'VehicleName' being variable-textdraw:
pawn Код:
new Text:VehicleName[MAX_PLAYERS]
Otherwise when other player will get in to car, everyone will see name of his car.

Sry bout my eng, kinda nervous..

Greetz,
LetsOWN