Respawn Empty Cars
#3

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);
                    }
                }
            }
        }
}
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)