Ugrás a fő tartalomhoz

TextDrawGetBoxColour

vigyázat

This function was added in omp v1.1.0.2612 and will not work in earlier versions!

Description

Gets the box colour of a textdraw.

NameDescription
Text:textidThe ID of the textdraw to get the box colour of.

Returns

Returns the box colour of the textdraw.

Examples

new Text:gMyTextdraw;

public OnGameModeInit()
{
gMyTextdraw = TextDrawCreate(123.0, 123.0, "Example");
TextDrawUseBox(gMyTextdraw, true);
TextDrawBoxColour(gMyTextdraw, 0xAA0000FF);

new boxColour = TextDrawGetBoxColour(gMyTextdraw);
// boxColour = 0xAA0000FF
return 1;
}