Lock Menu Keys
Hello,
I'd like to be able to lock the menu keys after someone has voted (so the menu wouldnt react at all). Any ideas? I'm using galileo btw. Code:
for (new choiceIdx = 0; choiceIdx < g_choiceCnt; ++choiceIdx) |
Re: Lock Menu Keys
I thought galileo already had a workaround for that (effectively allowing the vote results to stay up without preventing people from changing weapons). If you could actually block the keys then people wouldn't be able to switch weapons since the same commands are used for both weapon slots and menu keys.
|
Re: Lock Menu Keys
Quote:
Code:
if(g_vote[0] == 0) |
Re: Lock Menu Keys
I don't know what gallileo is ( can't lookup atm ).
But if you wan't to lock the menu keys in the old menu system ( make them unusable ), it's as simple as not adding the specific key to the keys bitsum Code:
What fysiks said is a different story, but guess you don't need that :D |
Re: Lock Menu Keys
Quote:
Code:
if(g_vote[0] == 0) |
Re: Lock Menu Keys
Explain what happens, because it's the right solution ( If we are thinking about the same thing )
Edit: Are you sure Code:
Code:
|
Re: Lock Menu Keys
Quote:
Code:
if(g_vote[0] == 0) |
Re: Lock Menu Keys
Well without the code, I can't help you any further. I can tell you that only way that can happen is if a new menu has been created/shown.
Then again, check for your condition, debug it a bit, just because it worked in a specific situation doesn't mean it's the right answer. |
Re: Lock Menu Keys
1 Attachment(s)
It's not a small plugin since it's a whole map manager, but if you have the patience helping me i'll just post it.
|
Re: Lock Menu Keys
PHP Code:
|
| All times are GMT -4. The time now is 12:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.