View Single Post
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 07-24-2011 , 18:41   Re: 'chooseteam' or 'jointeam'
Reply With Quote #2

http://wiki.amxmodx.org/Half-Life_1_...vents#VGUIMenu

Each predefined menu has a unique id. Hook this event and have it print a message containing the menu id. You can use this to get the different ids for whatever menu you need to block or hook.

Returning PLUGIN_HANDLED in the hook function will block whatever menu is being called. Be careful, blocking the team choosing menus can cause server crashes in some cases.

http://wiki.amxmodx.org/Half-Life_1_...vents#ShowMenu could also be useful depending on what you're doing.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline