3DTextLabel Issue
#1

I'm in a bit need of help.
The 3DTextLabel I have on the left is the one I'm using on my server. How would I make it appear like the one on the right? (Notice the shadow and how it's easier to read.)

Here is my line.
Код:
Create3DTextLabel("Guarana Island on left.\nGinseng Island on right.", BLUE, 112.4842, -3025.4895,6.8333 , 40.0, 0, 0);
Reply
#2

Obviously, you will first want to change the color of the textdraw. Let's take a look at the function which creates a 3Dtextlabel.

Quote:
Originally Posted by wiki.sa-mp.com
(text[], color, Float:X, Float:Y, Float:Z, Float:drawDistance, virtualworld, testLOS)
With this in mind, you'll probably want to change "BLUE" to "YELLOW" (if you have that defined). If you don't have a yellow color defined, let me know and I can find one for you. By changing BLUE to YELLOW, you are fixing the color problem.

If you want the black outline, make sure your define of YELLOW has ff on the end. Here is an example of a yellow define below:

pawn Код:
#define YELLOW 0xF3FF08FF
Reply
#3

No no, colour isn't the issue. The focus is on how the yellow is easier to read because it has that shadow behind the text.
Reply
#4

Quote:
Originally Posted by CrystalMethod
Посмотреть сообщение
No no, colour isn't the issue. The focus is on how the yellow is easier to read because it has that shadow behind the text.
Add FF to the end of your BLUE define (should look like the following format 0x------FF). If you don't understand what I'm saying post your BLUE define here.
Reply
#5

Quote:
Originally Posted by RevolutionaryGaming
Посмотреть сообщение
Add FF to the end of your BLUE define (should look like the following format 0x------FF). If you don't understand what I'm saying post your BLUE define here.
Here it is.
Код:
#define BLUE 0x0000FFAA
Reply
#6

#define BLUE 0x0000FFFF

Use that.
Reply
#7

Worked like a charm! Many thanks!
Reply
#8

From next Time, use Text Draw Maker systems.
They have features to add colors, shadows, boxes and font.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)