Destroy chooseteam menu
Hey guys!
I made a server that requires blocking 'chooseteam' and/or 'jointeam' command, it assigns you to a team automatically. The problem is that now when i do it, players when they log ingame they get the selection menu (where you click 1 for Terrorist and 2 for CT and 5 for Auto-Assign), and they cant click it ofcourse cuz its blocked, but i dont want them to use it anyway cuz the code, once again, automatically assigns you to a team! Question is, is there any way I can do a command that will kill this team selection menu or prevent it from appearing when a client connects? |
Re: Destroy chooseteam menu
PHP Code:
EDIT: It didnt help |
Re: Destroy chooseteam menu
See Exolent's team join management plugin. I'm sure he does what you want there.
Quote:
|
Re: Destroy chooseteam menu
It's a whole new plugin, that does many other things I don't want it to do, all I want is a simple code that prevents the chooseteam menu from appearing at client_connect to a client.
|
Re: Destroy chooseteam menu
nvm in order to disable that all I did is display a random menu i made (menu_create) and then show_menu like i posted above. the menu overwrote the chooseteam menu, and the showmenu overwrote the menu, and show_menu the way i wrote it shows nothing, so i'd say thats a pretty good alternative lol
|
Re: Destroy chooseteam menu
PHP Code:
|
Re: Destroy chooseteam menu
You dont think I tried it before? IT doesnt works on the CHOOSETEAM menu that appears at the BEGINNING.
|
| All times are GMT -4. The time now is 01:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.