how to make 3d text on car?
#1

hey guys,
i was wondering how to make it that when u see a car u see above the car the name of the car or car health or somethin?
niels
Reply
#2

Attach3DTextLabelToVehicle


example from wiki
pawn Код:
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
    Attach
Reply
#3

ah thnx man
Reply
#4

Код:
new Car, Text3D:text; // variables
    text = Create3DTextLabel( "Maљinos tekstas", 0xFF0000AA, 0.0, 0.0,0.0, 50.0, 0, 1 ); // Create3D
    Car = CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 60); // CreateVehicle
    Attach3DTextLabelToVehicle( text, Car, 0.0, 0.0, 2.0);// Attach3D
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)