Textdraw colors
#1

Hello, since the wiki sites are now loading for me somehow.. i need to know how to change the textdraw collors


this is one of my boxes, and the collor is TextDrawColor(MainMenuTxtdraw[1], 255);



See here:

PHP код:
    MainMenuTxtdraw[1] = TextDrawCreate(639.000000, -1.000000"'");
    
TextDrawAlignment(MainMenuTxtdraw[1], 3);
    
TextDrawBackgroundColor(MainMenuTxtdraw[1], 255);
    
TextDrawFont(MainMenuTxtdraw[1], 1);
    
TextDrawLetterSize(MainMenuTxtdraw[1], 0.23999910.900000);
    
TextDrawColor(MainMenuTxtdraw[1], 255);
    
TextDrawSetOutline(MainMenuTxtdraw[1], 0);
    
TextDrawSetProportional(MainMenuTxtdraw[1], 1);
    
TextDrawSetShadow(MainMenuTxtdraw[1], 1);
    
TextDrawUseBox(MainMenuTxtdraw[1], 1);
    
TextDrawBoxColor(MainMenuTxtdraw[1], 255);
    
TextDrawTextSize(MainMenuTxtdraw[1], 102.000000330.000000); 
How do i know what the collor is ? i cant find out the 255..
Reply
#2

255 is white colour..
Since 0 is black so ofc 255 is white..
Reply
#3

okay where can i find those IDS ?
Reply
#4

Try to use iPleomax's Textdraw Editor to make it easier.
Reply
#5

RGBA
Example:
0xFF0000FF - red
0x00FF00FF - green
0x0000FFFF - blue
0xFFFFFFFF - white
Reply
#6

Quote:
Originally Posted by karemmahmed22
Посмотреть сообщение
255 is white colour..
Since 0 is black so ofc 255 is white..
Actually, no. It's full opaque black. 255 is 0x000000FF, when represented in the more common 8 digit hexadecimal format.

Quote:
Originally Posted by SacrificeGaming
Посмотреть сообщение
okay where can i find those IDS ?
Use Windows Calculator and set it to programming mode. Select dword. You can then switch between decimal and hexadecimal.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)