Text draw color problem
#1

I made this text draw, but the text is appearing black and should be pink. How do I fix this?

pawn Код:
new Text:Info;

public OnGameModeInit()
{
    Info = TextDrawCreate(0,0,"This is the best server on all of SA-MP");
    TextDrawAlignment(Info,1);
    TextDrawFont(Info,2);
    TextDrawColor(Info,0xFF7FB6AA);
    TextDrawBoxColor(Info, 0x0094FFAA);
    TextDrawUseBox(Info,1);
}

public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid,Info);
}
Reply
#2

By changing the color?

pawn Код:
TextDrawColor(Info,0xFF0080FF);
Reply
#3

Look at my code

pawn Код:
TextDrawColor(Info,0xFF7FB6AA);
Reply
#4

Quote:
Originally Posted by Noles2197
Посмотреть сообщение
Look at my code

pawn Код:
TextDrawColor(Info,0xFF7FB6AA);
I saw that. The color itself is wrong.
Reply
#5

How is it wrong if it works with SendClientMessage?
Reply
#6

http://www.colorpicker.com
Reply
#7

Even what T0pAz posted doesn't work. My text still appears black!

pawn Код:
TextDrawColor(Info,0xFF0080FF);
Reply
#8

This is caused when the textdraw is off-screen. Only the shadow is showing. Try moving it down and/or right.
Reply
#9

I had it at 0,0

Quote:
Originally Posted by MP2
Посмотреть сообщение
This is caused when the textdraw is off-screen. Only the shadow is showing. Try moving it down and/or right.
Reply
#10

Did you manage to sort it out?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)