[CS:S/CS:GO] Simple Team Restriction v1.4
Simple plugin that prevents players from joining whatever team is set to be restricted.
Currently Tested On: [CSS]
Cvars:
sm_simple_team_restriction "0" //Sets Team to Restrict, (1 = SPEC), (2 = T), (3 = CT), (0 = OFF)
sm_simple_autoteam_restriction "0" //Enable/Disable Auto Team Join Function, (1 = ON), (0 = OFF)
NOTE:
Remember to set:
mp_limitteams and
mp_autoteambalance to whatever needed.
In most cases its "0"
Changelog:
Code:
1.0 - Plugin release
1.1 - Added sourcepawn 1.7 transitional syntax
1.2 - Updated code to today's standards.
1.3 - Updated to use AddCommandListener and added valid checks.
1.4 - Added AutoTeam support and minor code updates.