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



Create3DTextLabel - Aleksabre - 10.08.2015

Код:
Create3DTextLabel("POLICE\n(#FF0000)ENTRANCE STRICTLY FORBIDDEN",0x0000BBAA,1537.7209,-1627.4091,13.3828, 50.0, 0, 0);
It's kinda working, but; the problem is;
in the next row; entrance strictly forbidden, the colour doesn't change to 'red', it just says in the new row: (FFF000)entrance....

how do I make it red?

Like POLICE blue
and in the next row; entrance.... in red? thanks


Re: Create3DTextLabel - IgorLuiz - 10.08.2015

correct: {FF0000}
wrong: (FF0000)

try:
PHP код:
Create3DTextLabel("POLICE\n{FF0000}ENTRANCE STRICTLY FORBIDDEN"0xFFFFFFFF1537.7209,-1627.4091,13.382850.0); 



Re: Create3DTextLabel - Aleksabre - 10.08.2015

I'm sorry, I have already done that, it was some misunderstanding when I've typed () instead of {}
It doesn't work. Could someone help me with another solution? Appreciated


Re: Create3DTextLabel - M0HAMMAD - 10.08.2015

https://sampwiki.blast.hk/wiki/Create3DTextLabel
you must use colors in texts like {FFFFFF} not (#FFFFFF)


Re: Create3DTextLabel - Aleksabre - 10.08.2015

Thank you, mohammad, it works.
Could you just tell me, the 0x000 colours;
http://www.nthelp.com/colorcodes.htm
This site won't help at all, I pick up the blue colour and it's black in-game, so I'm guessing the codes are incorrect coloured. Any other site, please?


Re: Create3DTextLabel - Zens - 10.08.2015

Quote:
Originally Posted by Aleksabre
Посмотреть сообщение
Thank you, mohammad, it works.
Could you just tell me, the 0x000 colours;
http://www.nthelp.com/colorcodes.htm
This site won't help at all, I pick up the blue colour and it's black in-game, so I'm guessing the codes are incorrect coloured. Any other site, please?
Remove the 0x and use the last six letters/numbers. White is 0xFFFFFF but would be {FFFFFF}


Re: Create3DTextLabel - Beckett - 10.08.2015

Are you trying to create the Create3DTextLabel with an ingame command?

If so then you can't create it with the chatbox, as the chatbox automatically removes the illegal characters as '%' or hex (e.g: 0xFFFFFFFF) so use the dialog-input method instead.


Edit: Nevermind, that wasn't your question. ^^^

By the way, could you show us how the way you have done it now?


Re: Create3DTextLabel - Aleksabre - 11.08.2015

Hello, thanks for your fast replies, it's fixed. Now I will know that "#" messed up the colour.
I hope I do not advertise or bother, but I hope for fix in here: https://sampforum.blast.hk/showthread.php?tid=585086