Small help with 3dLabels
#2

Quote:
Originally Posted by Tee
Посмотреть сообщение
I made a 3d label but it only shows if i switched places with truck1 and text1:

This is when i dont work.
pawn Код:
text1 = Create3DTextLabel("Trucking Mission", 0xFFFFFFFF, 2855.8965,916.0118,11.4402, 50.0, 0, 1 );
    truck1 = CreateVehicle(403,2855.8965,916.0118,11.4402,82.7324,0,255,900);
    Attach3DTextLabelToVehicle(text1,truck1,2855.8965,916.0118,11.4402);
This is when it works, but with this one, the label is not attached to the vehicle/

pawn Код:
text1 = Create3DTextLabel("Trucking Mission", 0xFFFFFFFF, 2855.8965,916.0118,11.4402, 50.0, 0, 1 );
    truck1 = CreateVehicle(403,2855.8965,916.0118,11.4402,82.7324,0,255,900);
    Attach3DTextLabelToVehicle(truck1,text1,2855.8965,916.0118,11.4402);
pawn Код:
Attach3DTextLabelToVehicle(text1,truck1,0.0,0.0,0.0);
should work and I hope you defined text1 as: new Text3D: text1;
Reply


Messages In This Thread
Small help with 3dLabels - by Tee - 26.10.2010, 18:21
Re: Small help with 3dLabels - by Sascha - 26.10.2010, 18:26
Re: Small help with 3dLabels - by Tee - 26.10.2010, 18:46

Forum Jump:


Users browsing this thread: 2 Guest(s)