#1

I've got like 100 textdraws and I'm seeking for better option than using TextDrawShowForPlayer 100x, is there any easier way? Like looping somehow? I believe there is easier way but the point is i don't know how to use that loop in this case
Reply
#2

PHP код:
new Text3D:TextDraws[3];
//OnGameModeInit
TextDraws[0] = TextDrawCreate(..);
TextDraws[1] = TextDrawCreate(..);
TextDraws[2] = TextDrawCreate(..);
//Show them
for(new isizeof(TextDraws); i++) 
{
      
TextDrawShowForPlayer(playeridTextDraws[i]);

This should work.
Reply
#3

Thank you, rep+ for you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)