How do I ask pawno to check if there's a driver?
#4

pawn Код:
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);
                }
            }
        }
    }
untested
Reply


Messages In This Thread
How do I ask pawno to check if there's a driver? - by ThePS3Guy - 09.08.2009, 16:42
Re: How do I ask pawno to check if there's a driver? - by Martin_White - 09.08.2009, 16:50
Re: How do I ask pawno to check if there's a driver? - by ThePS3Guy - 09.08.2009, 16:52
Re: How do I ask pawno to check if there's a driver? - by woot - 09.08.2009, 17:04
Re: How do I ask pawno to check if there's a driver? - by Zeromanster - 09.08.2009, 17:06

Forum Jump:


Users browsing this thread: 1 Guest(s)