Respawn Empty Cars
#4

thanks for quick response just used

Quote:
Originally Posted by //exora
pawn Код:
public RespawnEmptyCars()
{
        for(new i=0; i<MAX_VEHICLES; i++)
        {
            for(new pl = 0; pl<MAX_PLAYERS; pl++)
            {
                if(IsPlayerConnected(pl))
                {
                    if(!IsPlayerInVehicle(pl, i))
                    {
                        SetVehicleToRespawn(i);
                    }
                }
            }
        }
}
saved me a few lines and a headache thanks
Reply


Messages In This Thread
Respawn Empty Cars - by Beaver07 - 13.10.2009, 16:01
Re: Respawn Empty Cars - by (.Aztec); - 13.10.2009, 16:09
Re: Respawn Empty Cars - by woot - 13.10.2009, 16:11
Re: Respawn Empty Cars - by Beaver07 - 13.10.2009, 16:25
Re: Respawn Empty Cars - by tunetu - 13.10.2009, 16:27
Re: Respawn Empty Cars - by (.Aztec); - 13.10.2009, 17:43

Forum Jump:


Users browsing this thread: 1 Guest(s)