More Textdraws (shorter way)
#2

I suggest you leave it as it is, unless you plan to put more than 30 textdraws, it's all about how you want to
identify your textdraws, if you believe having a group of textdraws showing something representing a whole, identify it with only one variable -> an array, like so:
pawn Код:
new Text:Textdraw[15];
Then you can loop through all of these textdraws and show them to a player, or to all players by doing
pawn Код:
for (new x = 0; x < 16; x++)
    TextDrawShowForPlayer(playerid, Textdraw[x]);
It's all up to you. The way I'm doing it is, if I use 2 textdraws to represent something, I normally just take plain variables, but if I use more textdraws showing something, representing a whole, then I use an array.
Reply


Messages In This Thread
More Textdraws (shorter way) - by Jimbo01 - 28.06.2011, 20:19
Re: More Textdraws (shorter way) - by Virtual1ty - 28.06.2011, 20:39
AW: More Textdraws (shorter way) - by Jimbo01 - 28.06.2011, 20:40
Re: More Textdraws (shorter way) - by Virtual1ty - 28.06.2011, 20:41
Re: More Textdraws (shorter way) - by CrazyBlob - 28.06.2011, 21:04

Forum Jump:


Users browsing this thread: 2 Guest(s)