17.01.2015, 14:48
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);
}
}