30.01.2019, 15:37
Geralmente a criaзгo do player textdraw й feito dentro da callback OnPlayerConnect.
Exemplos de uso:
Dб uma lida:
https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw
https://sampwiki.blast.hk/wiki/TextDrawCreate
Exemplos de uso:
PHP код:
//Global
new Text:text1;
public OnGameModeInit()
...
text1 = TextDrawCreate(x, y, "mdl-2000:login");
...
//Player
new PlayerText:text1[MAX_PLAYERS];
public OnPlayerConnect(playerid)
...
text1[playerid] = CreatePlayerTextDraw(playerid, text1[playerid], x, y, "mdl-2000:login");
...
https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw
https://sampwiki.blast.hk/wiki/TextDrawCreate