Vehicles Not respawning! Help please
#1

Hello people of the forum.

I have currently added vehicles using
Код:
CreateVehicle
since it allows respawn.


Then sometimes using the vehicle spawner shit gets really messed up I needed to clear all them vehicles, so I searched a bit and someone had made this.


Код:
if( strcmp( cmdtext, "/deleteallcars", true ) == 0 )
     {
         for( new veh; veh < MAX_VEHICLES; veh ++ )
         {
             if ( veh != INVALID_VEHICLE_ID )
             {
             DestroyVehicle( veh );
             }
         }
         SendClientMessage(playerid, 0xFFFF00AA, "Deleted all cars on the server!");
         return 1;
	 }
This deletes all the cars like needed.

But the vehicles WONT Respawn after 15 seconds, YES I have added a 15 sec timer I know how
Код:
CreateVehicle
works.

Why won't they respawn? what am I doing wrong?

Helper will be repped,

Regards, Eemale


EDIT: Also this destorys my BOT's lawn mower how would I avoid that?
Reply


Messages In This Thread
Vehicles Not respawning! Help please - by eemalekorraks - 05.09.2013, 14:42
Re: Vehicles Not respawning! Help please - by CoaPsyFactor - 05.09.2013, 15:20
Re: Vehicles Not respawning! Help please - by dusk - 05.09.2013, 15:22
Re: Vehicles Not respawning! Help please - by CoaPsyFactor - 05.09.2013, 15:25
Re: Vehicles Not respawning! Help please - by Dragonsaurus - 05.09.2013, 15:27
Re: Vehicles Not respawning! Help please - by Konstantinos - 05.09.2013, 15:27
Re: Vehicles Not respawning! Help please - by IceBilizard - 05.09.2013, 16:02
Re: Vehicles Not respawning! Help please - by Luis- - 05.09.2013, 16:32
Re: Vehicles Not respawning! Help please - by eemalekorraks - 05.09.2013, 16:33
Re: Vehicles Not respawning! Help please - by dusk - 05.09.2013, 16:41

Forum Jump:


Users browsing this thread: 1 Guest(s)