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

TextDrawSetPos

எச்சரிக்கை

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

Description​

Sets the position (in-screen x & y) of a textdraw.

NameDescription
Text:textidThe ID of the textdraw to set the position of.
Float:xThe X coordinate.
Float:yThe Y coordinate.

Examples​

new Text:gMyTextdraw;

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

TextDrawSetPos(gMyTextdraw, 200.0, 50.0);
return 1;
}