The scalar and vector percolation