PDA

View Full Version : Dynamic 3d label text


V1Su4L
27/07/2017, 09:04 PM
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:


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.

Jefff
27/07/2017, 09:40 PM
,30, 0, 1);

=

,Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID);

V1Su4L
27/07/2017, 10:15 PM
,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.

HoussamMaroc
28/07/2017, 09:53 AM
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