FANDOM


Kreira TD za svakog igraca pojedinacno. Moze biti koristen paralelno sa global TD-ovima.

Parametri Edit

(playerid, Float:x, Float:y, text[])
playerid - Id igraca kome se prikazuje TD
Float:x - X koordinata na ekranu
Float:y - Y koordinata na ekranu
text[] - Tekst u TD-u
Return - ID Tekstravova

Primer Edit

new PlayerText:welcomeText[MAX_PLAYERS];
 
public OnPlayerConnect(playerid)
{
    // Kreira TD
    welcomeText[playerid] = CreatePlayerTextDraw(playerid, 240.0, 580.0, "Welcome to my SA-MP server");
 
    // Sada ga prikazuje
    PlayerTextDrawShow(playerid, welcomeText[playerid]);
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.