3D labels not working
#1

So I was playing around with 3D labels but for some reason when I try add a label to a car it works fine. But as soon as I add one just randomly somewhere it adds that one to the car and doesn't show the other one. Help anyone

Sorry I'm only new to pawn


Код:
public OnGameModeInit ( )
{
   Create3DTextLabel("I'm at the coordinates:\n30.0, 40.0, 50.0", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);


    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);
    return 1;
}
Reply
#2

Are you getting any undefined symbol errors?

EDIT: Nevermind, that was stupid.

//===============================================

So you said you got it to work, then could you go more into detail what you do to make it not work?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)