Garry's Mod Wiki

GM:PlayerCanJoinTeam

GM:PlayerCanJoinTeam

  boolean GM:PlayerCanJoinTeam( Player ply, number team )

Description

Returns whether or not a player is allowed to join a team

Arguments

1 Player ply
Player attempting to switch teams
2 number team
Index of the team

Returns

1 boolean
Allowed to switch

Special Pages


Wikis

?

Render Time: 62ms

DB GetPage 44
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 7