Remove objects!
#4

I dont think so anyone of you know the function:
pawn Код:
IsValidObject(objectid);
Very easy to do so:
pawn Код:
DestroyAllObjects()
{
       for(new i; i < MAX_OBJECTS; ++i)
       {
              if(IsValidObject(i))
              {
                      DestroyObject(i);
               }
       }
}
Reply


Messages In This Thread
Remove objects! - by cnoopers - 12.03.2015, 21:21
Re: Remove objects! - by Smileys - 12.03.2015, 22:37
Re: Remove objects! - by CalvinC - 13.03.2015, 05:49
Re: Remove objects! - by Gammix - 13.03.2015, 06:39
Re: Remove objects! - by CalvinC - 13.03.2015, 06:44

Forum Jump:


Users browsing this thread: 1 Guest(s)