Raised This Month: $32 Target: $400
 8% 

[L4D] Menu/Panel closes when invalid menu item is chosen.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Matthias Vance
Senior Member
Join Date: Jan 2009
Old 01-14-2009 , 12:56   [L4D] Menu/Panel closes when invalid menu item is chosen.
Reply With Quote #1

LS,

I never actually used the Menu API in Sourcemod, but since I wanted to do a rewrite for the L4D voting system.. here we go.

Whenever I display either a menu or a panel to a client, and the client presses an "invalid" (meaning: no item with this index is added by me) number key, the menu vanishes and no callback will be fired.

I was expecting to get the MenuAction_Cancel as the menu action in my handler.

Is there some workaround or anything that can help?

Kind regards,

Matthias Vance

Last edited by Matthias Vance; 01-14-2009 at 13:15.
Matthias Vance is offline
BAILOPAN
Join Date: Jan 2004
Old 01-15-2009 , 09:27   Re: [L4D] Menu/Panel closes when invalid menu item is chosen.
Reply With Quote #2

For onlookers, this discussion has moved to bug 3566.
__________________
egg
BAILOPAN is offline
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:35.


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