Array index out of bounds
#4

use this loop in command
pawn Code:
for(new i=0;i<MAX_VEHICLES;i++)
    {
        if(IsVehicleOccupied(i) == 0)
        {
            //DestroyVehicle(PlayerInfo[i][pSpawnVehicle]);  this is the line that is causing the error
            SetVehicleToRespawn(i);
        }
    }
Reply


Messages In This Thread
Array index out of bounds - by kesarthakur - 17.01.2015, 14:39
Re: Array index out of bounds - by ATGOggy - 17.01.2015, 14:40
Re: Array index out of bounds - by kesarthakur - 17.01.2015, 14:45
Re: Array index out of bounds - by BroZeus - 17.01.2015, 14:48
Re: Array index out of bounds - by kesarthakur - 17.01.2015, 14:51
Re: Array index out of bounds - by BroZeus - 17.01.2015, 15:05

Forum Jump:


Users browsing this thread: 1 Guest(s)