SA-MP Forums Archive
Texdraw simple question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Texdraw simple question (/showthread.php?tid=584433)



Texdraw simple question - bigboy81 - 04.08.2015

Is it possible to do more textdraws and mark them as one and to reconcile them all at once?


Re: Texdraw simple question - Abagail - 04.08.2015

You mean something like this?

pawn Код:
new Textdraws[30];

// ...

Textdraws[0] = CreateTextDraw...
Textdraws[1] = CreateTextDraw...
Textdraws[2] = CreateTextDraw...
Then you can loop through all textdraws if you want:
pawn Код:
for(new i; i < sizeof(Textdraws); i++)
{
      TextDrawShowForPlayer(i, playerid);
}



Re: Texdraw simple question - Henkie - 04.08.2015

Wrong section, ask in the scripting section.