04.05.2013, 22:18
How do i code to change 3DTextLabel's font from this:
http://i.imgur.com/zQQZS0n.jpg
To this:
http://i.imgur.com/ZJU0Fi0.jpg
http://i.imgur.com/zQQZS0n.jpg
To this:
http://i.imgur.com/ZJU0Fi0.jpg
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); |
It's most likely that the text in the first image has no embedded text coloring. Embedded text coloring overlays the default color specified and is always FF effectively. In that case the only thing the alpha code specifies is the background color which u can use to create a border around your text an make it stand out a little better.
|