3DTextLabel
#8

Quote:
Originally Posted by CJay9209
Посмотреть сообщение
U've neglected to pay attention to the color alpha value in the hex code for the color ur using.

e.g.

0xRRGGBBAA

will give a nice kinda semi see through white

0xRRGGBBFF

will give a very vibrant white

and,

0xRRGGBB00

will give a completely invisible white.

You can also embed colors into the text in order to change it half way through,

e.g.

CreatePlayer3DTextLabel(playerid,"{0000FF}Fuel Station: {FF3300}Large Vehicle Type", 0xFFFFFFFF ,0,0,0,30.0,INVALID_PLAYER_ID,vehicleid,0);
Thanks, this helped.
But could you explain me why is it that in the both screens, the color code is 0xAA3333AA, but in 1. screen the color looks like AA, but in the 2. screen, the color is somewhere close to FF?
Reply


Messages In This Thread
3DTextLabel - by Nostrum - 04.05.2013, 22:18
Re: 3DTextLabel - by Vince - 04.05.2013, 22:22
Re: 3DTextLabel - by Nostrum - 04.05.2013, 22:24
Re: 3DTextLabel - by RaZzZzoR - 04.05.2013, 22:28
Re: 3DTextLabel - by Nostrum - 04.05.2013, 22:31
Re: 3DTextLabel - by MP2 - 04.05.2013, 22:35
Re: 3DTextLabel - by CJay9209 - 04.05.2013, 22:44
Re: 3DTextLabel - by Nostrum - 04.05.2013, 23:21
Re: 3DTextLabel - by CJay9209 - 04.05.2013, 23:27
Re: 3DTextLabel - by Nostrum - 05.05.2013, 08:31

Forum Jump:


Users browsing this thread: 2 Guest(s)