This is a simple light version of semiclip. It should be the fastest since I found a quite simple method that doesn't use much code. It doesn't prevent the rotating entities bug.
Cvars:
semiclip - Enabled 1, Disabled 0 semiclip_enemies - Can trespass enemies 1 Cannot trespass enemies 0 semiclip_blockteam- Both teams have semiclip - 0, Terrorists don't have semiclip - 1, Counter-Terrorist don't have semiclip - 2
Thanks to:
ConnorMcLeod for telling me how to avoid client prediction and to xPaw for the cvar semiclip_blockteam