Garry's Mod Wiki

GM:PlayerJoinTeam

GM:PlayerJoinTeam( Player ply, number team )

Description

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

Arguments

1 Player ply
Player to force
2 number team
The team to put player into

Page Links


Special Pages


Wikis

?

Render Time: 84ms

DB GetPage 50
Generate Html 9
SaveChanges (1) 9
Render Body 0
Render Sidebar 13