Mission problems
#9

i suggest instead of unloading those just load into another map,
Also if you wanna destroy the objects use this,
Код:
stock ClearObjects()
{
	for(new i; i<MAX_OBJECTS; i++)
	{
		if(IsValidObject(i)) DestroyObject(i);//ok so look the map does not change. //do you have more than 1 map?
	}
}
stock DestroyAllVehicle()
{
    for(new i=1;i<=MAX_VEHICLES;i++)
	{
    	DestroyVehicle(i);
	}
	return 1;
}
then call it at endmap or that way it will destroy all the objects and vehicles in your currently playing map(when it's switching)
Reply


Messages In This Thread
Mission problems - by Tuntun - 18.06.2013, 17:44
Re: Mission problems - by DobbysGamertag - 18.06.2013, 18:18
Re: Mission problems - by DobbysGamertag - 18.06.2013, 18:22
Re: Mission problems - by Tuntun - 18.06.2013, 18:54
Re: Mission problems - by DobbysGamertag - 18.06.2013, 18:56
Re: Mission problems - by Tuntun - 18.06.2013, 19:04
Re: Mission problems - by doreto - 18.06.2013, 19:06
Re: Mission problems - by DobbysGamertag - 18.06.2013, 19:17
Re: Mission problems - by SwisherSweet - 18.06.2013, 20:54

Forum Jump:


Users browsing this thread: 1 Guest(s)