Vehicles Not respawning! Help please
#10

I don't follow you anymore...but if you want the vehicles to be set to respawn:
pawn Код:
if(!strcmp(cmdtext,"respawnallvehicles"))
{
   for(new i = 1; i < MAX_VEHICLES; i++)
   {
       if(IsValidVehicle(i))
       {
              SetVehicleToRespawn(i);
       }
    }
    return 1;
}


Note that the function IsValidVehicle must be declared native:
pawn Код:
native IsValidVehicle(vehicleid);
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: 3 Guest(s)