முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

TextDrawGetOutline

எச்சரிக்கை

செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

Description​

Gets the thickness of a textdraw's text's outline.

NameDescription
Text:textidThe ID of the textdraw to get the outline size of.

Returns​

Returns the textdraw outline size.

Examples​

new Text:gMyTextdraw;

public OnGameModeInit()
{
gMyTextdraw = TextDrawCreate(100.0, 33.0, "Example TextDraw");
TextDrawSetOutline(gMyTextdraw, 1);

new outline = TextDrawGetOutline(gMyTextdraw);
// outline = 1
return 1;
}