Text Problem. - 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: Text Problem. (
/showthread.php?tid=640216)
Text Problem. -
k0r3kt - 29.08.2017
Hi sa-mp.com , i have a problem with 3dtextlabel car
I made a system of plate with 3dtext this is source OnGameModeInit
LoadCar();
for(new h = carsonserver; h < sizeof(CarInfo); h++)
{
CreateVehicle(CarInfo[h][cModel],CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000);
LoadComponents(h);
format(TextCar, sizeof(TextCar), "%s-%s-%s", CarInfo[h][cPlate1], CarInfo[h][cPlate2], CarInfo[h][cPlate3]);
TextUpCar[h] = Create3DTextLabel(TextCar, 0x33AAFFFF , 0.0, 0.0, 0.0, 25, 0, 1);
Attach3DTextLabelToVehicle(TextUpCar[h], h, 0.0, 0.0, 0.1);
}
The text appears but the house text disappears
http://imgur.com/a/gE4aX
when I remove from OnGameodeInit Attach3DTextLabelToVehicle and Create3DTextLabel house text appears when disappears car text