Garry's Mod Wiki

Revision Difference

Player:SetNoCollideWithTeammates#527713

<function name="SetNoCollideWithTeammates" parent="Player" type="classfunc"> <description> Sets whenever the player should not collide with their teammates. <bug issue="2757">This only works with <page>Player:Team</page> IDs 1-4. This also has major collision issues.</bug> <bug issue="1820">Melee damage, such as from zombie attacks, will not register if this is turned on with <page>Player:Team</page> IDs 1-4.</bug> <bug issue="1820">Melee damage, such as from zombie attacks, will not register if this is turned on with <page>Player:Team</page> IDs 1-4. This is fixed in the next update.</bug> </description> <realm>Server</realm> <args> <arg name="shouldNotCollide" type="boolean">True to disable, false to enable collision.</arg> </args> </function>