TextDraw Color
#1

I made a textdraw and the color won't ever work, it stays black.

pawn Код:
Away = TextDrawCreate(558.000000, 99.000000, "(AWAY)");
    TextDrawBackgroundColor(Away, 255);
    TextDrawFont(Away, 3);
    TextDrawLetterSize(Away, 0.580000, 1.800000);
    TextDrawColor(Away, 0x00CCCCCC);
    TextDrawSetOutline(Away, 0);
    TextDrawSetProportional(Away, 1);
    TextDrawSetShadow(Away, 1);
How can I make it go to the color I want?

** I have it to set as a string if that is a problem.
Reply
#2

nvm...
Reply
#3

Can anyone help me? Is there anything I didn't do?
Reply
#4

PHP код:
TextDrawColor(Away0x00CCCCCC); 
Change 0x00CCCCCC to any color you want
Reply
#5

Quote:
Originally Posted by Kakioshe22
Посмотреть сообщение
PHP код:
TextDrawColor(Away0x00CCCCCC); 
Change 0x00CCCCCC to any color you want
Lol Stop spamming, if you would have actually tested you would have seen 0x00CCCCCC doesn't = Black.

That is the color I want my TXTDRAW to be...
Reply
#6

Try this:
PHP код:
new Text:Away 
PHP код:
    Away TextDrawCreate(558.00000099.000000"(AWAY)");
    
TextDrawBackgroundColor(Away255);
    
TextDrawFont(Away3);
    
TextDrawLetterSize(Away0.5800001.800000);
    
TextDrawColor(Away0x00CCCCCC);
    
TextDrawSetOutline(Away0);
    
TextDrawSetProportional(Away1);
    
TextDrawSetShadow(Away1);
    
TextDrawShowForPlayer(Away,playerid); 
Reply
#7

I have every script to use to make a textdraw. I tested and it compiled, it's just that my textdraw is displaying black.

pawn Код:
Away = TextDrawCreate(558.000000, 99.000000, "(AWAY)");
    TextDrawBackgroundColor(Away, 255);
    TextDrawFont(Away, 3);
    TextDrawLetterSize(Away, 0.580000, 1.800000);
    TextDrawColor(Away, 0x00CCCCCC);
    TextDrawSetOutline(Away, 0);
    TextDrawSetProportional(Away, 1);
    TextDrawSetShadow(Away, 1);
    //TextDrawShowForPlayer(Away,playerid);  Don't put in OnGameModeInit?
I already have all of that under ongamemodeinit except I have the textdraw to show up when the player connects.

Still black.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)