19.08.2010, 11:30
You should put only in one file the objects also.. And yes, it does delete all, or try this:
At the top:
At OnFilterScriptInIt
Tell me the errors cause I am sure there are
At the top:
pawn Код:
new bool:CreatedObjects[MAX_OBJECTS] = false;
pawn Код:
CreatedObjects[MAX_OBJECTS] = true;
pawn Код:
for(new o; o < MAX_OBJECTS; o++)
{
if(CreatedObjects[o] == true)
{
DestroyObject(o);
}
}
