3DText Color - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 3DText Color (
/showthread.php?tid=272564)
3DText Color -
ZmaXy - 28.07.2011
How to put more color in 3DText?
Код:
format(string1, sizeof(string1), "[HOUSE]\n Price: %d$\nDescription: %s\nAddres: %s",HouseInfo[h][hValue],HouseInfo[h][hDiscription],LocationZone);
housesale[h] = Create3DTextLabel(string1,0x0087AFFF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,20,0,1);
"Price:" - Blue color | %d$ - Red color
Re: 3DText Color -
Kaperstone - 28.07.2011
what do you mean?
you can only put 1 color and outlines(the black lines around the leters)
Re: 3DText Color -
Gh0sT_ - 28.07.2011
xkiril, stop spamming.
Use hex
format(string1, sizeof(string1), "[HOUSE]\n {0000FF}Price: {FF0000}%d$\nDescription: %s\nAddres: %s",HouseInfo[h][hValue],HouseInfo[h][hDiscription],LocationZone);
Re: 3DText Color -
ZmaXy - 28.07.2011
Quote:
Originally Posted by Gh0sT_
xkiril, stop spamming.
Use hex
format(string1, sizeof(string1), "[HOUSE]\n {0000FF}Price: {FF0000}%d$\nDescription: %s\nAddres: %s",HouseInfo[h][hValue],HouseInfo[h][hDiscription],LocationZone);
|
Thanks.
Can you give me where to find color codes?
Re: 3DText Color -
Kaperstone - 29.07.2011
Quote:
Originally Posted by Gh0sT_
xkiril, stop spamming.
Use hex
format(string1, sizeof(string1), "[HOUSE]\n {0000FF}Price: {FF0000}%d$\nDescription: %s\nAddres: %s",HouseInfo[h][hValue],HouseInfo[h][hDiscription],LocationZone);
|
im not spamming... im just helping
if i were spaming then in all forum categorys last post was by me...
and Zmaxy :
use this picture:
http://www.eligr.com/images/colors.gif
or this website(search for this there : "HTML Color Picker" ) :
http://html-color-codes.info/
before you putting the color code in remember to put first: " 0x " then the color code,so it will work
for example : 0xE51313
Re: 3DText Color -
Gh0sT_ - 29.07.2011
For more colors, just write "hex colors generator" in ******, trust me, there will be some "variants"
but also, if you have normal color code and you want to "convert" it to hex:
for example the color is
0x
FF0000FF
so, the hex "code" of this color is FF0000
Re: 3DText Color -
ZmaXy - 29.07.2011
Thanks guys
Re: 3DText Color -
Famalamalam - 29.07.2011
Quote:
Originally Posted by xkirill
before you putting the color code in remember to put first: " 0x " then the color code,so it will work
for example : 0xE51313
|
You don't need that for HEX embedding.