Tag Mismatch
#1

Hey, I need help again... IDK how (I did everything good), I have now 6 warnings and it can't work very well in-game.

Код:
    Line_1_Vehicle = AddStaticVehicleEx(431, 0.0, 0.0, 5.0, 0.0, 6, 666, 5000);
    Line_2_Vehicle = AddStaticVehicleEx(431, 0.0, 0.0, 5.0, 0.0, 6, 666, 5000);
    Line_3_Vehicle = AddStaticVehicleEx(431, 0.0, 0.0, 5.0, 0.0, 6, 666, 5000);
    
    Info_Line_1_Vehicle = Create3DTextLabel("Bus Line 1", green, 0.0, 0.0, 0.0, 50.0, 0, 1 ); //Here
    Info_Line_2_Vehicle = Create3DTextLabel("Bus Line 2", green, 0.0, 0.0, 0.0, 50.0, 0, 1 ); //Here
    Info_Line_3_Vehicle = Create3DTextLabel("Bus Line 3", green, 0.0, 0.0, 0.0, 50.0, 0, 1 ); //Here
    
    Attach3DTextLabelToVehicle(Info_Line_1_Vehicle, Line_1_Vehicle, 0.0, 0.0, 2.0); //Here
    Attach3DTextLabelToVehicle(Info_Line_2_Vehicle, Line_2_Vehicle, 0.0, 0.0, 2.0); //Here
    Attach3DTextLabelToVehicle(Info_Line_3_Vehicle, Line_3_Vehicle, 0.0, 0.0, 2.0); //Here
I just wanted add 3DTextLabel to Vehicles, but I got tag mismatches... Here, when I said "here".

Help?
Reply
#2

Quote:
Originally Posted by Libra_PL
Посмотреть сообщение
Hey, I need help again... IDK how (I did everything good), I have now 6 warnings and it can't work very well in-game.

Код:
    Line_1_Vehicle = AddStaticVehicleEx(431, 0.0, 0.0, 5.0, 0.0, 6, 666, 5000);
    Line_2_Vehicle = AddStaticVehicleEx(431, 0.0, 0.0, 5.0, 0.0, 6, 666, 5000);
    Line_3_Vehicle = AddStaticVehicleEx(431, 0.0, 0.0, 5.0, 0.0, 6, 666, 5000);
    
    Info_Line_1_Vehicle = Create3DTextLabel("Bus Line 1", green, 0.0, 0.0, 0.0, 50.0, 0, 1 ); //Here
    Info_Line_2_Vehicle = Create3DTextLabel("Bus Line 2", green, 0.0, 0.0, 0.0, 50.0, 0, 1 ); //Here
    Info_Line_3_Vehicle = Create3DTextLabel("Bus Line 3", green, 0.0, 0.0, 0.0, 50.0, 0, 1 ); //Here
    
    Attach3DTextLabelToVehicle(Info_Line_1_Vehicle, Line_1_Vehicle, 0.0, 0.0, 2.0); //Here
    Attach3DTextLabelToVehicle(Info_Line_2_Vehicle, Line_2_Vehicle, 0.0, 0.0, 2.0); //Here
    Attach3DTextLabelToVehicle(Info_Line_3_Vehicle, Line_3_Vehicle, 0.0, 0.0, 2.0); //Here
I just wanted add 3DTextLabel to Vehicles, but I got tag mismatches... Here, when I said "here".

Help?
Added "Text3D" tag.

pawn Код:
new
    Line_1_Vehicle,
    Line_2_Vehicle,
    Line_3_Vehicle,
    Text3D:Info_Line_1_Vehicle,
    Text3D:Info_Line_2_Vehicle,
    Text3D:Info_Line_3_Vehicle;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)