Method to Auto-Select Team w/o Showing Team Menu?
Does anyone know if there's a way to automatically assign a player to a team when they connect without having them see the team select menu?
I'm thinking along the lines that they connect to the server, breeze through the MOTD, and then are presented with the class select menu rather than the team select menu. |
Code:
would'nt this work? |
Lol?
Code:
#include <amxmodx> |
I'm THIS far from slapping you both upside the head.
|
Quote:
I would have done it more like this. "I'm |---| this far from slapping you both upside the head." |
I thought about doing it a similar way but I didn't feel it flowed nicely enough.
As it is, teame06 shared with me a way to do it. I'm going to test it and after I see how well it works, I'll post it. |
team select
I would be very interested in this plugin also.
I can test on two servers now! I have tried but can't get a version done and to work right. Let me know if I can help in any way. Thanks. |
I already done this a while ago.
Just use jointeam N on putinserver. |
haha
care to explain that to a 51 yr old man? i really cant understand that. not trying to be rude. just some things have flown past me now a days. Thanks. |
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 :P ) 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 :twisted: " to make clear whuzzup ^^ Greetz MGee |
| All times are GMT -4. The time now is 15:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.