License Plate - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: License Plate (
/showthread.php?tid=170357)
License Plate -
Steven82 - 22.08.2010
Hello i was wondering how to make 3D GameText licenses plates. if anyone can help it would be greatly appericated.
Re: License Plate -
tony_fitto - 23.08.2010
Try to use wiki next time,
https://sampwiki.blast.hk/wiki/Create3DTextLabel
if you want random plate numbers, a tips is to think and you will find it

trust me.
Код:
public OnGameModeInit ( )
{
new vehicle_id, Text3D:vehicle3Dtext;
//Creating TextLabel
vehicle3Dtext = Create3DTextLabel( "Example Text", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1 );
//Creating the Vehicle
vehicle_id = CreateVehicle( 510, 0.0. 0.0, 15.0, 5, 0, 120 );
//Attaching Text Label To Vehicle
Attach3DTextLabelToVehicle( vehicle3Dtext, vehicle_id, 0.0, 0.0, 2.0);
}
Re: License Plate -
Steven82 - 23.08.2010
nah like i want one to be on every vehicle ofc, but i don't want to sit there and make the same thing for about 350 vehicles.

So if you know how to make it multiple without a shit lode of coding would help alot thanks
P.S.
I did use the wiki and for the record i didn't know how i was going to attach them all to every vehicle without having to make a shitload of coding. And telling me use the wiki for 3dTextLabel really doesn't help.