Raised This Month: $32 Target: $400
 8% 

[TF2] Restrict Team Switch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
btc
New Member
Join Date: Nov 2011
Old 11-14-2011 , 09:49   [TF2] Restrict Team Switch
Reply With Quote #1

Hi,

I need some kind of plugin that restricts any team changes on a tf2 server. Basically what I need is: a player gets auto-assigned in a team when the game starts and he can't change teams(spectator included) on his own (only the existing autoteambalance can do this).

I need that the team-change menu (the one with the doors) not be at any time accessible to a player...

Thanks
btc is offline
Tylerst
Veteran Member
Join Date: Oct 2010
Old 11-15-2011 , 02:24   Re: [TF2] Restrict Team Switch
Reply With Quote #2

//This will force players to join a team upon joining the game
mp_forceautoteam "1"

//This will disable spectating
mp_allowspectators "0"

And this small plugin will block switching teams
Attached Files
File Type: sp Get Plugin or Get Source (Blockteamswitch.sp - 771 views - 373 Bytes)

Last edited by Tylerst; 11-15-2011 at 02:27.
Tylerst is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode