Destroy all objects in one time?
#7

You should put only in one file the objects also.. And yes, it does delete all, or try this:

At the top:

pawn Код:
new bool:CreatedObjects[MAX_OBJECTS] = false;
At OnFilterScriptInIt
pawn Код:
CreatedObjects[MAX_OBJECTS] = true;
pawn Код:
for(new o; o < MAX_OBJECTS; o++)
{
    if(CreatedObjects[o] == true)
    {
        DestroyObject(o);
    }
}
Tell me the errors cause I am sure there are
Reply


Messages In This Thread
Destroy all objects in one time? - by Nameless303 - 19.08.2010, 11:00
Re: Destroy all objects in one time? - by [NWA]Hannes - 19.08.2010, 11:07
Re: Destroy all objects in one time? - by Nameless303 - 19.08.2010, 11:14
Re: Destroy all objects in one time? - by Claude - 19.08.2010, 11:18
Re: Destroy all objects in one time? - by Nameless303 - 19.08.2010, 11:22
Re: Destroy all objects in one time? - by Nameless303 - 19.08.2010, 11:24
Re: Destroy all objects in one time? - by Claude - 19.08.2010, 11:30
Re: Destroy all objects in one time? - by iggy1 - 19.08.2010, 11:42
Re: Destroy all objects in one time? - by Nameless303 - 19.08.2010, 12:40
Re: Destroy all objects in one time? - by [NWA]Hannes - 19.08.2010, 13:02

Forum Jump:


Users browsing this thread: 1 Guest(s)