View Single Post
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 03-31-2015 , 22:27   Re: Auto join, replace class menu properly
Reply With Quote #8

To me, it's still rather unclear what your asking.
Blocking the menus? Simply hook ShowMenu and VGUIMenu messages ( and filter for the correct values ) and block them.
Showing your own class menu? You can just show it after blocking the other menus.
Force team join? Just use engclient_cmd( "jointeam" .... ) .
And then you won't have to worry about jointeam used after that because it will be blocked.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline