!= is not, but how what if & ???
Hey, I wan't to check
if(get_user_flags(someone1) & ADMIN_LEVEL_H && get_user_flags(someone2) **IS NOT [ !& - not working ;D ] ** ADMIN_LEVEL_H) !(get_user_flags(someone2) & ADMIN_LEVEL_H) ?? |
Re: != is not, but how what if & ???
You answer yourself and that's something you could test alone.
|
Re: != is not, but how what if & ???
yeah I found solution, but I didn't know is it good, so thanks for ur answer too :)
|
Re: != is not, but how what if & ???
Not to confuse you, but another way is this:
Code:
|
Re: != is not, but how what if & ???
Thanks.
|
Re: != is not, but how what if & ???
Quote:
Code:
|
Re: != is not, but how what if & ???
Quote:
|
Re: != is not, but how what if & ???
Ok, thanks. And which one is more efficient? Or it doesn't matter since it's so little code
|
Re: != is not, but how what if & ???
Only way to tell that is to profile it.
https://forums.alliedmods.net/showthread.php?t=67752 |
Re: != is not, but how what if & ???
Ok, I'll try it, thank you
|
| All times are GMT -4. The time now is 02:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.