Gamemode.PlayerJoinTeam
From GMod Wiki
| Event Hook | |
| Hook Name | PlayerJoinTeam |
| Syntax | GM:PlayerJoinTeam( Player ply, Integer Team Index ) |
| Description | Called when a player joins a team. |
| Returns | Nil |
| Lua State | |
| BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.PlayerJoinTeam]Gamemode.PlayerJoinTeam [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Additional Notes
- Return false to disallow the teamchange.
See Also