SA-MP Forums Archive
3DTextlabels prob - 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: 3DTextlabels prob (/showthread.php?tid=534449)



3DTextlabels prob - Gogeta101 - 29.08.2014

Those 2 are ongameinit and they dont appear ingame idk whats wrong, no errors.
PHP код:

    Create3DTextLabel
("Base Spawn",COLOR_BLUE,-250.8406,2598.8433,62.8582,50,0);
    
Create3DTextLabel("Base Spawn",COLOR_RED,-149.9057,1079.6403,19.7422,50,0); 



Re: 3DTextlabels prob - Pottus - 29.08.2014

Lets see how COLOR_BLUE, COLOR_RED are defined.


Re: 3DTextlabels prob - Clad - 29.08.2014

pawn Код:
Create3DTextLabel("Base Spawn",0x008080FF,-250.8406,2598.8433,62.8582,50,0);
Create3DTextLabel("Base Spawn",0x008080FF,-149.9057,1079.6403,19.7422,50,0);



Re: 3DTextlabels prob - Gogeta101 - 29.08.2014

#define COLOR_BLUE 0x0000FF00
#define COLOR_RED 0xFF000000


Re: 3DTextlabels prob - Clad - 29.08.2014

pawn Код:
Create3DTextLabel("Base Spawn",0x0000FF00,-250.8406,2598.8433,62.8582,50,0);
Create3DTextLabel("Base Spawn",0xFF000000 ,-149.9057,1079.6403,19.7422,50,0);



Re: 3DTextlabels prob - Gogeta101 - 29.08.2014

Does not work maybe color visibilty

Edit Fixed the color visibilty was the prob - Added FF at end.


Re: 3DTextlabels prob - Pottus - 29.08.2014

Yeah see I knew it, that is why I asked to see the colors.