Raised This Month: $ Target: $400
 0% 

Set user flags from const...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 04-23-2013 , 15:11   Re: Set user flags from const...
Reply With Quote #5

Quote:
Originally Posted by Sherazaa View Post
Why did you not do that :

Code:
new const FreeFlags = ADMIN_IMMUNITY & ADMIN_RESERVATION & ADMIN_CHAT

Why you set an OR BITWISE operator and not an AND BITWISE ?
Bit-wise operators do not work according to their names.
Re-read the bitwise tutorial you would understand it
I think this will make you understand.
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster 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 10:56.


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