TextDrawColor

From SA-MP Wiki

Jump to: navigation, search


Sets the text color of a textdraw


Image:32px-Ambox_warning_orange.png Note: You can also use Gametext colors in textdraws.


Parameters:
(Text:text, color)
textThe TextDraw to change.
colorThe color in hexadecimal format.


ReturnsThis function doesn't return a specific value


new Text:Example;
 
public OnGameModeInit()
{
    Example = TextDrawCreate(123.0, 123.0,"Example");
    TextDrawColor(Example,0x000000FF);
    return 1;
}

Related Functions

The following functions may be useful, as they are related to this function in one way or another.


Personal tools