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: 73ms

DB GetPage 53
Generate Html 4
SaveChanges (1) 6
Render Body 0
Render Sidebar 7