28.02.2012, 08:48
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
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; }