Player/SetNoCollideWithTeammates

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (collisSion)
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=SetNoCollideWithTeammates
 
|Parent=Player
 
 
|Description=Sets whenever the player should not collide with their teammates.
 
|Description=Sets whenever the player should not collide with their teammates.
  
'''NOTE''' This only works with {{ClassFunction|Player|Team}}() ids 1-4.  
+
'''NOTE''' This only works with {{ClassFunction|Player|Team}}() ids 1-4.
 
|Realm=Server
 
|Realm=Server
 
|IsClass=Yes
 
|IsClass=Yes
Line 11: Line 9:
 
|type=boolean
 
|type=boolean
 
|name=shouldNotCollide
 
|name=shouldNotCollide
|desc=True to disable, false to enable collission.
+
|desc=True to disable, false to enable collision.
 
}}
 
}}

Revision as of 21:18, 20 March 2017

 Player:SetNoCollideWithTeammates( )

Description

Sets whenever the player should not collide with their teammates.

NOTE This only works with Player:Team() ids 1-4.

Arguments

boolean shouldNotCollide

True to disable, false to enable collision.
Personal tools
Navigation