Destrying Object ?
#2

You must define the objects in order to delete them, so you can do something like this
pawn Код:
new Objects[50]; //The 50 stands for amount of objects you are going to define so you can change this.

Objects[1] = CreateObject(blabla..
Objects[2] = CreateObject(blabla..
//And so on

//Now loop through the objects
for(new x; x < 50; x++)
    {
    DestroyObject(Objects[x]);
    return 1;
    }
Reply


Messages In This Thread
Destrying Object ? - by Lajko1 - 03.09.2013, 17:01
Re: Destrying Object ? - by TonyII - 03.09.2013, 17:20
Re: Destrying Object ? - by Lajko1 - 03.09.2013, 18:27
Re: Destrying Object ? - by Rapgangsta - 03.09.2013, 21:36
Re: Destrying Object ? - by Mauzen - 03.09.2013, 21:54
Re: Destrying Object ? - by Lajko1 - 04.09.2013, 08:40
Re: Destrying Object ? - by Lajko1 - 04.09.2013, 19:27

Forum Jump:


Users browsing this thread: 1 Guest(s)