SA-MP Forums Archive
3d 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: 3d text problem (/showthread.php?tid=581223)



3d text problem - Adrianos - 11.07.2015

What is incorrect in this code ?

Код:
forward plate();
public plate()
{
	for(new i = 0; i < sizeof(PD); i++)
	{
	    format(TextCar, sizeof(TextCar), "LS-%d-PD", i);
       	TextUpCar2[i] = Create3DTextLabel(TextCar, 0x0080FFFF , 0.0, 0.0, 0.0, 25, 0, 1);
       	Attach3DTextLabelToVehicle(TextUpCar2[i], i, 0.0, 0.0, 0.1);
	}
	return 1;
	
}



Re: 3d text problem - dominik523 - 11.07.2015

You tell us. What is TextCar, TextUpCar2, PD and nrinmatric?
Next time include important things into your code, not just "here's the code guys, what's wrong with it".


Re: 3d text problem - Adrianos - 11.07.2015

You can arrange my code please ?


Re: 3d text problem - dominik523 - 11.07.2015

I have no idea what is wrong with your code, so no.


Re: 3d text problem - Adrianos - 11.07.2015

up ...........


Re: 3d text problem - jlalt - 11.07.2015

can you post what errors it give on complie?


Re: 3d text problem - Adrianos - 11.07.2015

no error ...


Re : 3d text problem - KillerDVX - 12.07.2015

Try this:

PHP код:
TextUpCar2[i] = Create3DTextLabel"Vйhicule d'Administrateur"0xFF0000AA0.00.00.050.00);
        
Attach3DTextLabelToVehicle(TextUpCar2[i] , TextCar0.00.02.0); 



Re: 3d text problem - Adrianos - 12.07.2015

no work your code ...