Raised This Month: $ Target: $400
 0% 

Method to Auto-Select Team w/o Showing Team Menu?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 12-29-2005 , 16:29  
Reply With Quote #10

I guess forcing ppl into teams can only be done in client_putinserver since on client_connect they are still connecting, and you should AlWaYs tell the user why they were forced to join a specific team.
Then bind a function to the command clients use to choose teams (sry, forgot it ) which displays a msg "You aren't allowed to switch teams yourself here." or something, to prevent ppl joining the team they want to after playing a round or two...

I'm not sure if you can prevent this "initial" team selection menu from showing up at all, since client_putinserver is actually called if the client chose a team. But I guess it is the only way to get what you want, just write into the MotD of the server a line like "Choose your team, but don't think you'll always get the team you want " to make clear whuzzup ^^

Greetz MGee
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble
MistaGee is offline
Send a message via ICQ to MistaGee
 



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 15:54.


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