04.04.2012, 12:12
Of course you can. When a textdraw is created they just hold an integer value which is returned after the textdraw is created. If you want to test this try the following code:
pawn Код:
new PlayerText:TD0;
new PlayerText:TD1;
public OnGameModeInit()
{
TD0 = CreatePlayerTextDraw(playerid, 0.0, 0.0, "Textdraw0");
TD1 = CreatePlayerTextDraw(playerid, 1.0, 1.0, "Textdraw1");
printf("Textdraw0's ID: %i\nTextdraw1's ID: %i", _:TD0, _:TD1); //Should print 0 for TD0 and 1 for TD1
return 1;
}