Respawning Vehs
#5

Quote:
Originally Posted by zamaleksc
Посмотреть сообщение
I tried both
Код:
dcmd_respawnvehs(playerid,params[])
{
    #pragma unused params
    #pragma unused playerid
    for(new i=0;i<MAX_VEHICLES;i++)
    {
     	if(!VehicleOccupied(i))
	{
       		SetVehicleToRespawn(i);
       	}
    }
    SendClientMessageToAll(COLOR_ADMIN, "Administrator has respawned all unoccupied vehicles.");
    return 1;
}
and this
Код:
dcmd_respawnvehs(playerid,params[])
{
    #pragma unused params
    #pragma unused playerid
    for(new i = GetVehiclePoolSize(); i > 0; i--)
    {
	    SetVehicleToRespawn(i);
    }
	SendClientMessageToAll(COLOR_ADMIN, "Administrator has respawned all unoccupied vehicles.");
	return 1;
}
but both respawned all vehs Gamemode's one and Filterscript's also
What your gamemode ?
Reply


Messages In This Thread
Respawning Vehs - by zamaleksc - 24.12.2015, 14:29
Re: Respawning Vehs - by Ritzy2K - 24.12.2015, 14:33
Re: Respawning Vehs - by Amunra - 24.12.2015, 14:50
Re: Respawning Vehs - by zamaleksc - 24.12.2015, 14:52
Re: Respawning Vehs - by Amunra - 24.12.2015, 15:04
Re: Respawning Vehs - by zamaleksc - 24.12.2015, 15:37
Re: Respawning Vehs - by Amunra - 24.12.2015, 15:43
Re: Respawning Vehs - by Ritzy2K - 24.12.2015, 15:45
Re: Respawning Vehs - by Amunra - 24.12.2015, 16:00
Re: Respawning Vehs - by TwinkiDaBoss - 24.12.2015, 16:28

Forum Jump:


Users browsing this thread: 3 Guest(s)