GM/PlayerJoinTeam

From Garry's Mod
Revision as of 05:19, 10 January 2017 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 GM:PlayerJoinTeam( )

Description

Makes the player join a specified team. This is a convenience function that calls Player:SetTeam and runs the GM:OnPlayerChangedTeam hook.

Arguments

Player ply

Player to force

Arguments

number team

The team to put player into
Personal tools
Navigation