Dont respawn ingamecreated cars
#2

Код:
[code
for (new cars=0; cars<MAX_VEHICLES; cars++)
{
   SetVehicleToRespawn(cars);
}
The above code will respawn all the vehicles currently in-game.

Try using a array to store the static vehicles you create.

Eg:
Код:
staticcars[]=
{
AddStaticVehicle(................)
//blablabla all your vehicles.
};
Then your respawn commands would be like so:

Код:
for (new cars=0; cars<sizeof(staticcars); cars++)
{
SetVehicleToRespawn(cars);
}
I am not sure, but you can try.
Reply


Messages In This Thread
Dont respawn ingamecreated cars - by Jonni8 - 03.06.2010, 13:16
Re: Dont respawn ingamecreated cars - by DJDhan - 03.06.2010, 14:05
Re: Dont respawn ingamecreated cars - by Jonni8 - 03.06.2010, 14:15
Re: Dont respawn ingamecreated cars - by DJDhan - 03.06.2010, 14:34
Re: Dont respawn ingamecreated cars - by Jonni8 - 03.06.2010, 14:41
Re: Dont respawn ingamecreated cars - by Jonni8 - 03.06.2010, 15:18
Re: Dont respawn ingamecreated cars - by Think - 03.06.2010, 15:22
Re: Dont respawn ingamecreated cars - by Jonni8 - 03.06.2010, 15:26
Re: Dont respawn ingamecreated cars - by Think - 03.06.2010, 17:17
Re: Dont respawn ingamecreated cars - by Jonni8 - 03.06.2010, 19:34
Re: Dont respawn ingamecreated cars - by Jonni8 - 03.06.2010, 20:39
Re: Dont respawn ingamecreated cars - by Jonni8 - 03.06.2010, 21:08

Forum Jump:


Users browsing this thread: 1 Guest(s)