Raised This Month: $ Target: $400
 0% 

Menu Not Working Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 04-19-2016 , 12:53   Menu Not Working Help
Reply With Quote #1

NeverMind

Last edited by Awesome_man; 04-21-2016 at 03:39.
Awesome_man is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 04-19-2016 , 13:02   Re: Menu Not Working Help
Reply With Quote #2

Read rules and show full code.
Problem is becuase keys are not defined correctly on the top of the plugin.
I'll give you an example , a guy had the same problem.

Look here: https://forums.alliedmods.net/showthread.php?t=281369

example
#define Keys (1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<9)

here will work only keys 1,2,3,4.
To add 5 and 6 you add :
(1<<4) and (1<<5)

So i will look like :

#define Keys (1<<0)|(1<<1)|(1<<2)|(1<<3)|(1<<4)|(1<<5)

You might be confused because you don't see key "6" this is because counting is started from 0 so key 5 will be 4 and 6 will be 5 and so on..
Hope you understood.

Last edited by siriusmd99; 04-19-2016 at 13:03.
siriusmd99 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 18:43.


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