3DTextLabel not attaching to vehicle.
#1

I've created a vehicle:

pawn Код:
new CreatedVehicle = CreateVehicle(dCar[i][Model],dCar[i][xPos],dCar[i][yPos],dCar[i][zPos],dCar[i][aPos],dCar[i][Color1],dCar[i][Color2],-1);
        new String[128];
        format(String, sizeof(String), "%s\n%s\n$%d",GetVehicleName(dCar[i][Model]),ddData[i][DealerName],dCar[i][Cost]);
        dCar[i][DcarLabel] = Create3DTextLabel(String, COLOR_LIGHTBLUE, 0,0,0, 15.0, 0, 0);
        Attach3DTextLabelToVehicle( dCar[i][DcarLabel], CreatedVehicle, 0.0, 0.0, 1.0);
The car gets created, Yet the 3DTextAbel does not attach to the vehicle.

What could be wrong?
Reply
#2

Have you created the 3d text label somewhere else?
Reply
#3

Quote:
Originally Posted by Aerotactics
Посмотреть сообщение
Have you created the 3d text label somewhere else?
Nope this is the first time creating the label
Reply
#4

Is the label created ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)