GM:OnPlayerChangedTeam

From Garry's Mod
Jump to: navigation, search
 GM:OnPlayerChangedTeam( )

Contents

Description

Called when a player has changed team using GM:PlayerJoinTeam.

WARNING This hook will not work with hook.Add and it is only called manually from GM:PlayerJoinTeam by the base gamemode

Arguments

Player ply

Player who has changed team

Arguments

number oldTeam

Index of the team the player was originally in

Arguments

number newTeam

Index of the team the player has changed to
Personal tools
Navigation