checking arrays
#2

Try it with a loop:

pawn Код:
for( new x = 0; x < sizeof ArmourPickup; ++x ) {
  if( pickupid == ArmourPickup[ x ] ) {
    //Other codes...
  }
}
Reply


Messages In This Thread
checking arrays - by oggylt - 07.04.2010, 15:37
Re: checking arrays - by ZeRo_HUN - 07.04.2010, 15:42
Re: checking arrays - by oggylt - 07.04.2010, 16:16

Forum Jump:


Users browsing this thread: 1 Guest(s)