Garry's Mod Wiki

Player:SetNoCollideWithTeammates

  Player:SetNoCollideWithTeammates( boolean shouldNotCollide )

Description

Sets whenever the player should not collide with their teammates.

This will only work for teams with ID 1 to 4 due to internal Engine limitations.

Arguments

1 boolean shouldNotCollide
True to disable, false to enable collision.