Raised This Month: $ Target: $400
 0% 

Lock Menu Keys


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
wAyz
Senior Member
Join Date: Feb 2010
Location: Germany
Old 07-17-2018 , 22:09   Lock Menu Keys
Reply With Quote #1

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)
		{
			voteCnt = g_mapVote[choiceIdx];
			vote_getTallyStr(voteTally, sizeof(voteTally)-1, voteCnt);
			
			if(g_vote[0] == 0)
			charCnt += formatex(voteStatus[charCnt], sizeof(voteStatus)-1-charCnt, "^n%s%i. \w%s%s", CLR_RED, choiceIdx+1, g_mapChoice[choiceIdx], voteTally);
			else
			charCnt += formatex(voteStatus[charCnt], sizeof(voteStatus)-1-charCnt, "^n%s%i. \d%s%s", CLR_RED, choiceIdx+1, g_mapChoice[choiceIdx], voteTally);
			keys |= (1<<choiceIdx);
		}

Last edited by wAyz; 07-17-2018 at 22:10.
wAyz is offline
 



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 12:32.


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