Disable friendly fire.

How would I make bullets nocollide with certain people? Is this possible?

If I disable friendly fire, bullets still impact on team-mates, I want those bullets to only impact on walls or enemies.

EDIT:
Could I perhaps use this: http://wiki.garrysmod.com/?title=PhysObj.SetMaterial ?

No it wouldn’t work.

**[Gamemode.PlayerShouldTakeDamage

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Gamemode.PlayerShouldTakeDamage)**

Keggs, I rate you books. You could hook the fire function and change the trace filter.

Oh, I thought he wanted the bullets to do no damage.

http://www.facepunch.com/fp/rating/book_error.png

me

Alright, which fire function are you referring to? Does this mean I have to edit every SWEP?