Respawn All Vehicles
#1

pawn Code:
function RespawnAllVehicles()
{
      for( new i = i; i <= MAX_VEHICLES; i ++ )
      {
             if(i != INVALID_VEHICLE_ID)
             {
                     if(IsVehicleEmpty(i))
                     {
                              SetVehicleToRespawn(i);
                     }
             }
      }
      return 1;
}
When i used `RespawnAllVehicles` function in my scripts
Vehicles late too respawn and server lagged for 10second also players..
How to fix??
Reply


Messages In This Thread
Respawn All Vehicles - by Vizi10 - 15.04.2019, 21:09
Re: Respawn All Vehicles - by AdamsLT - 15.04.2019, 22:11
Re: Respawn All Vehicles - by BsLOUAY - 15.04.2019, 22:13
Re: Respawn All Vehicles - by AdamsLT - 16.04.2019, 07:44
Re: Respawn All Vehicles - by Vizi10 - 16.04.2019, 16:20

Forum Jump:


Users browsing this thread: 1 Guest(s)