SA-MP Forums Archive
CreateDynamic3DTextLabel not showing - 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: CreateDynamic3DTextLabel not showing (/showthread.php?tid=556230)



CreateDynamic3DTextLabel not showing - lwilson - 10.01.2015

Код:
	CreatePickup(1247, 23, 1528.082397, -1677.978637, 5.890625, -1); // LAPD
	CreateDynamic3DTextLabel("/arrest",COLOR_DBLUE,1528.082397, -1677.978637, 5.890625+0.6,4.0);  // LAPD
THIS CODE ABOVE IS WORKING ~ FOR LAPD
Код:
	CreatePickup(1247, 23, 2273.306884, -80.623764, 26.453544, -1); // LASD
	CreateDynamic3DTextLabel("/arrest",TEAM_SASD,2273.306884, -80.623764, 26.453544+0.6,4.0); //LASD
BUT THIS CD3DTL for LASD is not Working.
Need Help

__________________
Next Life Roleplay [Refunding/Hiring]
SERVER IP: 172.245.220.133:7108
http://nextlife-rp.boards.net/



Re: CreateDynamic3DTextLabel not showing - lwilson - 10.01.2015

bump


Respuesta: CreateDynamic3DTextLabel not showing - Thewin - 10.01.2015

I tested with other color and work fine.. show your TEAM_SASD code.


Re: CreateDynamic3DTextLabel not showing - TazmaNiax - 10.01.2015

Quote:
Код:
CreatePickup(1247, 23, 2273.306884, -80.623764, 26.453544, -1); // LASD
CreateDynamic3DTextLabel("/arrest",TEAM_SASD,2273.306884, -80.623764, 26.453544+0.6,4.0); //LASD
did "TEAM_SASD", defined as colour?
this the exsample:
Код:
CreateDynamic3DTextLabel("/arrest", YOUR_COLOUR ,2273.306884, -80.623764, 26.453544+0.6,4.0); //LASD



Re: CreateDynamic3DTextLabel not showing - ATGOggy - 10.01.2015

Where did you define your TEAM_SASD?


Re: CreateDynamic3DTextLabel not showing - lwilson - 10.01.2015

this is the code
Код:
#define TEAM_SASD   0xCC993300



Re: CreateDynamic3DTextLabel not showing - ATGOggy - 10.01.2015

Is the Z-co-ordinate of the second text label correct?


Re: CreateDynamic3DTextLabel not showing - lwilson - 10.01.2015

Код:
2273.306884, -80.623764, 26.453544
well i take the XYZ using /save then , i just copied the +0.6,4.0 at other Create3dtextlabel that is working
Код:
CreateDynamic3DTextLabel("/LAPD\nTo open your locker.",COLOR_DBLUE,267.033142, 110.105987, 1004.617187+0.6,4.0);
this is the code that where i copied the +0.6,4.0 but it's working IG.


Re: CreateDynamic3DTextLabel not showing - lwilson - 10.01.2015

because i don't know how to take 0.6,4.0 but as far as i know 0.6 is distance to see the Text but i don't know the 4.0.


Re: CreateDynamic3DTextLabel not showing - lwilson - 10.01.2015

nevermind i got it