Raised This Month: $ Target: $400
 0% 

[TF2] Force player Team Red


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lxxg
New Member
Join Date: Sep 2010
Old 09-30-2010 , 20:47   [TF2] Force player Team Red
Reply With Quote #1

Hello,

I'm new here at these forums. Just wanted to ask a quick question if anyone is willing to be so kind.

How would i go about forcing people to go to RED team in TF2 when they join my server? Ive tried a few things and couldn't seem to get anything to work properly. My goal is to not allow the player to join Team Blu.

Thanks in advanced.
Lxxg is offline
Chaotic Llama
SourceMod Donor
Join Date: Dec 2005
Location: Lee's Summit, MO
Old 09-30-2010 , 23:16   Re: [TF2] Force player Team Red
Reply With Quote #2

Quote:
Originally Posted by Lxxg View Post
Hello,

I'm new here at these forums. Just wanted to ask a quick question if anyone is willing to be so kind.

How would i go about forcing people to go to RED team in TF2 when they join my server? Ive tried a few things and couldn't seem to get anything to work properly. My goal is to not allow the player to join Team Blu.

Thanks in advanced.
tf2 cvar
Quote:
// restricts human players to a single team.
// values any, blue, red, spectator
mp_humans_must_join_team blue
__________________
In a League of it's own ~ OneWorldOn-line.com
Chaotic Llama is offline
Send a message via AIM to Chaotic Llama
Lxxg
New Member
Join Date: Sep 2010
Old 09-30-2010 , 23:20   Re: [TF2] Force player Team Red
Reply With Quote #3

Thank-you so much! Much appreciated.
Lxxg is offline
Polotf2
New Member
Join Date: Mar 2016
Old 03-12-2016 , 16:35   Re: [TF2] Force player Team Red
Reply With Quote #4

Quote:
Originally Posted by Chaotic Llama View Post
tf2 cvar
What if, I want everyone to go to red when they spawn but i want to be able to put people in B, like admins and such.
Polotf2 is offline
The_dr
Senior Member
Join Date: Jan 2012
Location: Canada
Old 03-15-2016 , 10:06   Re: [TF2] Force player Team Red
Reply With Quote #5

You would probably need a plugin that will force players to the desired team on spawn depending on if they have admin flags or not.
__________________
iRON Servers

Last edited by The_dr; 03-15-2016 at 10:07. Reason: better answer
The_dr is offline
TonyBaretta
Senior Member
Join Date: Mar 2014
Location: nope.avi
Old 03-17-2016 , 03:30   Re: [TF2] Force player Team Red
Reply With Quote #6

https://forums.alliedmods.net/showth...=139806&page=3

g_hEnabled = CreateConVar("aob_activeteam", "1", "If 1, anyone who spawns on RED will die and respawn on BLU. If 2, anyone who spawns on BLU will die and respawn on RED.");
g_hAdminsToo = CreateConVar("aob_adminsexempt", "1", "If 1, anyone with the generic admin flag (B) is exempt from enforced team switching.");
__________________
TonyBaretta 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 23:26.


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