SA-MP Forums Archive
3DTextLabel not attaching to vehicle. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 3DTextLabel not attaching to vehicle. (/showthread.php?tid=499381)



3DTextLabel not attaching to vehicle. - Shockey HD - 07.03.2014

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?


Re: 3DTextLabel not attaching to vehicle. - Aerotactics - 08.03.2014

Have you created the 3d text label somewhere else?


Re: 3DTextLabel not attaching to vehicle. - Shockey HD - 08.03.2014

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


Re: 3DTextLabel not attaching to vehicle. - RenovanZ - 08.03.2014

Is the label created ?