Adding Explosive Barrels?
#4

I would do that with foreach in such case.

pawn Код:
Itter_Create(Barrier,MAX_BARRIERS);

Itter_Add(Barrier,CreateObject(...));


SetTimer("BarRespawn",60000,true);
public BarRespawn()
{
  foreach(Barrier,x)
  {
    DestroyObject(x);
    Itter_Remove(Barrier,x);
    Itter_Add(Barrier,CreateObject(...));
  }
  return;
}
Reply


Messages In This Thread
Adding Explosive Barrels? - by DJDhan - 09.12.2009, 16:55
Re: Adding Explosive Barrels? - by dice7 - 09.12.2009, 16:58
Re: Adding Explosive Barrels? - by DJDhan - 09.12.2009, 17:09
Re: Adding Explosive Barrels? - by Sergei - 09.12.2009, 17:13
Re: Adding Explosive Barrels? - by dice7 - 09.12.2009, 17:16
Re: Adding Explosive Barrels? - by DJDhan - 10.12.2009, 08:31

Forum Jump:


Users browsing this thread: 2 Guest(s)