Removing Flag A
This code does remove all flags for admins:
PHP Code:
|
Re: Removing Flag A
Try this (untested)
PHP Code:
|
Re: Removing Flag A
Didn't work for me..
|
Re: Removing Flag A
PHP Code:
|
Re: Removing Flag A
hlev, that is the same as my code except w\ an if statement; you can also shorten it with set_user_flags( id, iFlags & ~ADMIN_LEVEL_A );
Kadir, it should work. Are you properly testing if the flag exists? Try this: PHP Code:
|
Re: Removing Flag A
Code:
set_user_flags(id, get_user_flags(id) & ~ADMIN_IMMUNITY) |
Re: Removing Flag A
Quote:
Try it: PHP Code:
|
Re: Removing Flag A
Exact :
Code:
pPlayer->flags[id] |= flag;Which idiot wrote : Code:
if (id < 0) |
Re: Removing Flag A
:stupid:
PHP Code:
|
Re: Removing Flag A
I still wonder what is the 3rd arg.
|
| All times are GMT -4. The time now is 17:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.