AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Menu Not Working Help (https://forums.alliedmods.net/showthread.php?t=281744)

Awesome_man 04-19-2016 12:53

Menu Not Working Help
 
NeverMind

siriusmd99 04-19-2016 13:02

Re: Menu Not Working Help
 
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.


All times are GMT -4. The time now is 18:43.

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