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

TextDrawGetShadow

எச்சரிக்கை

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

Description​

Gets the size of a textdraw's text's shadow.

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

Returns​

Returns the textdraw shadow size.

Examples​

new Text:gMyTextdraw;

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

new shadow = TextDrawGetShadow(gMyTextdraw);
// shadow = 1
return 1;
}