SA-MP Forums Archive
Help - Labels - 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: Help - Labels (/showthread.php?tid=423857)



Help - Labels - Anak - 19.03.2013

hello i want to make text dark like the text in players name etc.. i used this it's like transparent ..

pawn Код:
new Text3D:label1 = Create3DTextLabel("Anak's Airways", COLOR_YELLOW, 30.0, 40.0, 50.0, 40.0, 0);
      Attach3DTextLabelToPlayer(label1, playerid, 0.0, 0.0, 0.7);
      new Text3D:label4 = Create3DTextLabel("[BOT]Skimmer", COLOR_GREEN, 30.0, 40.0, 50.0, 40.0, 0);
      Attach3DTextLabelToPlayer(label4, playerid, 0.0, 0.0, 0.3);

help me .. thanks


Re: Help - Labels - Misiur - 19.03.2013

Show your COLOR_YELLOW and COLOR_GREEN defines. You might be missing alpha channel


Re: Help - Labels - Anak - 20.03.2013

ok
pawn Код:
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_GREEN 0x33AA33AA
i want it to look like player name tag (above health bar)..
anyone?


Re: Help - Labels - Mystique - 20.03.2013

Код:
#define COLOR_YELLOW 0xFFFF00FF
#define COLOR_GREEN 0x33AA33FF



Re: Help - Labels - Anak - 20.03.2013

thanks