03.09.2013, 21:36
There is another simple way
new o_mapname[2];
o_mapname[0] = FIRST CREATE OBJECT
Objects..
Objects..
Objects..
Objects..
Objects..
o_mapname[1] = LAST OBJECT
//Now loop through the objects
for(new x = o_mapname[0]; x < o_mapname[1]; x++)
{
DestroyObject(x);
return 1;
}
new o_mapname[2];
o_mapname[0] = FIRST CREATE OBJECT
Objects..
Objects..
Objects..
Objects..
Objects..
o_mapname[1] = LAST OBJECT
//Now loop through the objects
for(new x = o_mapname[0]; x < o_mapname[1]; x++)
{
DestroyObject(x);
return 1;
}