Ugrás a fő tartalomhoz

TextDrawSetPos

vigyázat

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

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