Garry's Mod Wiki

Player:SetNoCollideWithTeammates

Player:SetNoCollideWithTeammates( boolean shouldNotCollide )

Description

Sets whenever the player should not collide with their teammates.

This only works with Player:Team IDs 1-4. This also has major collision issues. This is fixed in the next update.

Issue Tracker: 2757
Melee damage, such as from zombie attacks, will not register if this is turned on with Player:Team IDs 1-4. This is fixed in the next update.

Issue Tracker: 1820

Arguments

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

Page Links


Special Pages


Wikis

?

Render Time: 33ms

DB GetPage 5
Generate Html 5
SaveChanges (1) 9
Render Body 0
Render Sidebar 12