Raised This Month: $ Target: $400
 0% 

VGUIMenu id


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jje
Junior Member
Join Date: Oct 2011
Old 12-30-2012 , 11:03   VGUIMenu id
Reply With Quote #1

Hello
Where can I find information about first argument of message VGUIMenu (MenuID)? for example id 2 causes opening teamselect menu, and id 5 - opening start motd. I tried to find them in amxmodx, metamod, and hlsdk sources but found nothing

P.S. sry for my bad English
Jje is offline
Send a message via ICQ to Jje Send a message via Skype™ to Jje
Bos93
Veteran Member
Join Date: Jul 2010
Old 12-30-2012 , 19:52   Re: VGUIMenu id
Reply With Quote #2

http://wiki.alliedmods.net/index.php...ct=no#VGUIMenu
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 12-30-2012 , 20:16   Re: VGUIMenu id
Reply With Quote #3

Quote:
Originally Posted by Bos93 View Post
He's asking for the menues indexes, you're just sending him the things that he already knows lol

I don't know if there's a dumped data on this forums, but you can dump the values by yourself testing
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 12-31-2012 , 03:27   Re: VGUIMenu id
Reply With Quote #4

http://forums.alliedmods.net/showthread.php?t=7118
__________________
Impossible is Nothing
Sylwester is offline
Jje
Junior Member
Join Date: Oct 2011
Old 12-31-2012 , 05:16   Re: VGUIMenu id
Reply With Quote #5

Quote:
Originally Posted by Sylwester View Post
Thx, it is useful, but i wanted to find some information about menus which can't be accessed from the game..
Jje is offline
Send a message via ICQ to Jje Send a message via Skype™ to Jje
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-31-2012 , 10:57   Re: VGUIMenu id
Reply With Quote #6

What do you want to do ?

Open menu to players, or detect when players use menus ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 12-31-2012 , 15:18   Re: VGUIMenu id
Reply With Quote #7

You can use the names listed here http://forums.alliedmods.net/showthread.php?t=130708 with register_menuid( "#RadioA", 1 ) to retrieve the corresponding menu id.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-31-2012 , 15:21   Re: VGUIMenu id
Reply With Quote #8

This is not for VGUI menus, also there is a problem with amxx system, index returned with register_menuid can change if you register Buy and BuyXXX in a specific order, can't remember exactly what was the issue.
Anyway, OP has not anwered yet.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-31-2012 , 15:37   Re: VGUIMenu id
Reply With Quote #9

Quote:
Originally Posted by Jje View Post
Thx, it is useful, but i wanted to find some information about menus which can't be accessed from the game..
Is it just me or does this make no sense? If the menu can't be accessed from the game then why does such a menu exist?
__________________
fysiks is offline
Jje
Junior Member
Join Date: Oct 2011
Old 01-02-2013 , 10:53   Re: VGUIMenu id
Reply With Quote #10

Quote:
Originally Posted by ConnorMcLeod View Post
What do you want to do ?

Open menu to players, or detect when players use menus ?
Open menus, but I want to get some information about them
for example for what purpose are 36,38 or 39 menus, or menu 3(this lags gui), or menu 35(this crash client)

Quote:
Originally Posted by fysiks View Post
Is it just me or does this make no sense? If the menu can't be accessed from the game then why does such a menu exist?
They can't be accessed by player, but they can be shown to player by server
For example, AFAIK, the information about Half-Life developers(menuid 37) can't be called by player(or not, I don't remember , but there are some other interesting vgui features),
Jje is offline
Send a message via ICQ to Jje Send a message via Skype™ to Jje
Reply



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 13:46.


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