Raised This Month: $ Target: $400
 0% 

Lock Menu Keys


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
maqi
Senior Member
Join Date: Apr 2017
Location: Serbia
Old 07-18-2018 , 04:02   Re: Lock Menu Keys
Reply With Quote #11

PHP Code:
if(g_vote[0] == 0)
charCnt += formatex(voteStatus[charCnt], sizeof(voteStatus)-1-charCnt"^n%s%i. \w%s%s"CLR_REDchoiceIdx+1g_mapChoice[choiceIdx], voteTally);
else
charCnt += formatex(voteStatus[charCnt], sizeof(voteStatus)-1-charCnt"^n%s%i. \d%s%s"CLR_REDchoiceIdx+1g_mapChoice[choiceIdx], voteTally);
keys |= (1<<choiceIdx); 
adding keys to the bitsum is not under the if/else statement, it's outside of it. Therefore it will always be set, the only thing that changes is the color \w to \d ( put it in the curly brackets together under the right condition )
__________________
stuff

Last edited by maqi; 07-18-2018 at 04:05.
maqi 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