Raised This Month: $51 Target: $400
 12% 

[TF2] Force Auto-Assign


Post New Thread Reply   
 
Thread Tools Display Modes
Procyon
Junior Member
Join Date: Dec 2007
Old 12-13-2010 , 15:18   Re: [TF2] Force Auto-Assign
Reply With Quote #11

How about changing mp_forceautoteam silently?

Code:
new flags = GetConVarFlags(cvar);
if (flags & FCVAR_NOTIFY) // Remove notify if needed
{
    SetConVarFlags(cvar, flags ^ FCVAR_NOTIFY);
}
SetConVarInt(cvar, x);
SetConVarFlags(cvar, flags); // Restore cvar flags
Procyon is offline
Jokerz99
Senior Member
Join Date: Apr 2008
Old 12-14-2010 , 14:51   Re: [TF2] Force Auto-Assign
Reply With Quote #12

We have certain people who "team stack" would it possible to only enable this plugins on those people via some cfg with steamids?
__________________
Jokerz99 is offline
LadyBug
Junior Member
Join Date: Aug 2012
Old 08-21-2012 , 21:19   Re: [TF2] Force Auto-Assign
Reply With Quote #13

Forcing people that has been auto assigned to stay in the team would be nice.
LadyBug is offline
Dr_Knuckles
AlliedModders Donor
Join Date: Mar 2005
Location: SW Florida
Old 10-07-2013 , 20:13   Re: [TF2] Force Auto-Assign
Reply With Quote #14

OK, so I am looking to make idlers rejoin a team and not sit in spec if the map changes. Does this auto-assign joiners to a team or does it only allow for random team joins by the client?
__________________
Dr_Knuckles is offline
GeoV
Junior Member
Join Date: Feb 2017
Location: Romania
Old 06-27-2020 , 03:38   Re: [TF2] Force Auto-Assign
Reply With Quote #15

I know this is quite an old topic but I have to say that every time when my server changes map the plugin gets disabled. It will work once again only if I reinstall it on my plugin folder. Somebody else had the same issue?
GeoV is offline
Caen
New Member
Join Date: Aug 2017
Old 06-27-2020 , 06:46   Re: [TF2] Force Auto-Assign
Reply With Quote #16

Is Good thanks!
Caen is offline
Teamkiller324
Senior Member
Join Date: Feb 2014
Location: Earth
Old 08-11-2020 , 16:16   Re: [TF2] Force Auto-Assign
Reply With Quote #17

New syntax version
Attached Files
File Type: sp Get Plugin or Get Source (forceautoteam.sp - 154 views - 1.4 KB)
__________________
Teamkiller324 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 00:14.


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