License Plate
#1

Hello i was wondering how to make 3D GameText licenses plates. if anyone can help it would be greatly appericated.
Reply
#2

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);
}
Reply
#3

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)