Vehicle nocollide help.

Hello,

I have a vehicle no collide code.
The problem is. If I spawn a car from Q menu, no one owns, then the car is no collided.
But if I spawn a car from the car NPC with me as a owner of the car, then you can’t go through the car.

My code is:

hook.Add(“PlayerSpawnedVehicle”,“DisableCollisionVehicle”,function(ply, ent)
if IsValid(ent) then
ent:SetCollisionGroup(COLLISION_GROUP_WEAPON)
end
end)