Looping this 2 Array
#1

fix
Reply
#2

The only way I can think of is this. (Not sure if its what you need)

1. What is bigger? MAX_HOUSES or MAX_FURNITURE? Take the bigger one and put it into the for loop and the other in while loop.

pawn Код:
for(new i = 0; i < MAX_HOUSES; i++)
{
     //house code.
     while(i < MAX_FURNITURE)
     {
         // furniture code.
      }
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)