Raised This Month: $51 Target: $400
 12% 

[HELP] AddMenuItem without prefix number?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NewbSkiddy
Junior Member
Join Date: Mar 2017
Old 04-19-2017 , 15:10   [HELP] AddMenuItem without prefix number?
Reply With Quote #1

Hey!

Is it possible to add menu items without the number prefix that also prevents the user from changing weapons with the hotkeys?

Thanks in advance!
NewbSkiddy is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-19-2017 , 15:14   Re: [HELP] AddMenuItem without prefix number?
Reply With Quote #2

An open menu will always block the slot keys, it is just how the client is implemented.
__________________
asherkin is offline
NewbSkiddy
Junior Member
Join Date: Mar 2017
Old 04-20-2017 , 11:43   Re: [HELP] AddMenuItem without prefix number?
Reply With Quote #3

Hmm, do you know how this was made then?

https://gyazo.com/7f68e82759379b1ab9d15e61b22f5f78
NewbSkiddy is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 04-20-2017 , 12:47   Re: [HELP] AddMenuItem without prefix number?
Reply With Quote #4

Quote:
Originally Posted by NewbSkiddy View Post
Hmm, do you know how this was made then?

https://gyazo.com/7f68e82759379b1ab9d15e61b22f5f78
This was asked a while back, uses panel instead of menu. https://forums.alliedmods.net/showpo...1&postcount=13
__________________

Last edited by Chaosxk; 04-20-2017 at 12:48.
Chaosxk is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-20-2017 , 12:59   Re: [HELP] AddMenuItem without prefix number?
Reply With Quote #5

Quote:
Originally Posted by Chaosxk View Post
This was asked a while back, uses panel instead of menu. https://forums.alliedmods.net/showpo...1&postcount=13
Didn't realize setKeys was what made that work by blocking multiple keys. useful.

Last edited by Mitchell; 04-20-2017 at 13:00.
Mitchell 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 08:20.


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