Garry's Mod Wiki

GM:PlayerJoinTeam

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

Special Pages


Wikis

?

Render Time: 23ms

DB GetPage 2
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 9