Garry's Mod Wiki

Player:SetAvoidPlayers

  Player:SetAvoidPlayers( boolean avoidPlayers )

Description

Pushes the player away from other players whenever the player inside another players' bounding box.

This avoidance is performed clientside by altering movement sent to server.

This applies to players within a single team. (Player:Team)

Arguments

1 boolean avoidPlayers
Whether to avoid teammates, or not.