Lewati ke konten utama

TextDrawGetShadow

peringatan

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

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;
}