TextDrawColor

From SA-MP Wiki

Jump to: navigation, search

TextDrawColor


Sets the text color of a textdraw


Note: You can also use Gametext colors in textdraws.


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


This function does not 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 might be useful as well, as they're related to this function in one way or another.


Personal tools