stock isvehicleoccupied error
#5

mhm, here you go.

pawn Код:
stock IsVehicleOccupied(vehicleid)
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerInVehicle(i,vehicleid))
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
stock isvehicleoccupied error - by Lisaax - 05.08.2013, 09:56
Re: stock isvehicleoccupied error - by Necip - 05.08.2013, 10:03
Re: stock isvehicleoccupied error - by Konstantinos - 05.08.2013, 10:12
Re: stock isvehicleoccupied error - by Lisaax - 05.08.2013, 15:38
Re : stock isvehicleoccupied error - by Matnix - 05.08.2013, 15:40
Re: stock isvehicleoccupied error - by Smokeyy - 05.08.2013, 15:41
Re: stock isvehicleoccupied error - by Konstantinos - 05.08.2013, 15:42

Forum Jump:


Users browsing this thread: 1 Guest(s)