Dynamic 3d label text - 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: Dynamic 3d label text (
/showthread.php?tid=638154)
Dynamic 3d label text -
V1Su4L - 27.07.2017
Hey,
I have a problem with the dynamic 3d label text.
When I come to the location I have a problem - there is no text but in the code there is.
How can I fix it?
Code for example:
PHP код:
CreatePickup(1247, 1, 1554.9950,-1675.5507,16.1953); // LSPD
CreateDynamic3DTextLabel("{FFFF00}Washington D.C. Police Department\n{FF0000}'To serve and protect'\n{FFFF00}/enter at this spot.", COLOR_RED, 1554.9950,-1675.5507,16.1953, 30, 0, 1);
In the game I see only the pickup (star) and I don't see the text.
This bug applies to all of the dynamic3dlabels texts.
Please help me.
Re: Dynamic 3d label text -
Jefff - 27.07.2017
,30, 0, 1);
=
,Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID);
Re: Dynamic 3d label text -
V1Su4L - 27.07.2017
Quote:
Originally Posted by Jefff
,30, 0, 1);
=
,Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID);
|
What do you mean by putting equal symbol (=) between them, should I replace the 30,0,1 with this or what should I do with this?
Edit:
It solved, thanks.
Re: Dynamic 3d label text -
HoussamMaroc - 28.07.2017
PHP код:
CreatePickup(1247, 1, 1554.9950,-1675.5507,16.1953); // LSPD
CreateDynamic3DTextLabel("{FFFF00}Washington D.C. Police Department\n{FF0000}'To serve and protect'\n{FFFF00}/enter at this spot.", COLOR_RED, 1554.9950,-1675.5507,16.1953, 10, 0, 5);
Fixed