AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   VGUIMenu id (https://forums.alliedmods.net/showthread.php?t=204438)

Jje 12-30-2012 11:03

VGUIMenu id
 
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

Bos93 12-30-2012 19:52

Re: VGUIMenu id
 
http://wiki.alliedmods.net/index.php...ct=no#VGUIMenu

meTaLiCroSS 12-30-2012 20:16

Re: VGUIMenu id
 
Quote:

Originally Posted by Bos93 (Post 1863838)

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

Sylwester 12-31-2012 03:27

Re: VGUIMenu id
 
http://forums.alliedmods.net/showthread.php?t=7118

Jje 12-31-2012 05:16

Re: VGUIMenu id
 
Quote:

Originally Posted by Sylwester (Post 1864037)

Thx, it is useful, but i wanted to find some information about menus which can't be accessed from the game..

ConnorMcLeod 12-31-2012 10:57

Re: VGUIMenu id
 
What do you want to do ?

Open menu to players, or detect when players use menus ?

Emp` 12-31-2012 15:18

Re: VGUIMenu id
 
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.

ConnorMcLeod 12-31-2012 15:21

Re: VGUIMenu id
 
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.

fysiks 12-31-2012 15:37

Re: VGUIMenu id
 
Quote:

Originally Posted by Jje (Post 1864084)
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?

Jje 01-02-2013 10:53

Re: VGUIMenu id
 
Quote:

Originally Posted by ConnorMcLeod (Post 1864233)
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 (Post 1864418)
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),


All times are GMT -4. The time now is 13:46.

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