#4

Try this:
pawn Код:
for(new i=0; i<MAX_VEHICLES; i++)
    {
        new pcount=0;
        for(new pl=0, tx=GetMaxPlayers(); pl<=tx; pl++)
        {
            if(IsPlayerConnected(pl))
            {
                if(GetPlayerVehicleID(pl)==i)
                {
                    pcount++;
                    break;
                }
            }
        }
        if(pcount==0)SetVehicleToRespawn(i);
    }
Reply


Messages In This Thread
help - by dark_clown - 24.10.2010, 17:33
Re: help - by boelie - 24.10.2010, 17:36
Re: help - by dark_clown - 24.10.2010, 18:04
Re: help - by DeathOnaStick - 24.10.2010, 18:22

Forum Jump:


Users browsing this thread: 1 Guest(s)