Preskoči na glavni sadržaj

TextDrawSetPos

Upozorenje

Dodano u verziji omp v1.1.0.2612. Ova stavka ne radi u starijim verzijama. Vrsta: funkcija.

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