how to get two admin access?
PHP Code:
but in my code, people that have both, get that VIP message! How can i do that people with admin level h get VIP moved after time, people with admin kick will get admin moved after time and people with both will get admin moved after time, since there are admins with vip flag! Thank you! |
Re: how to get two admin access?
You just need to add the condition that VIP is only given to those with ADMIN_LEVEL_H and not ADMIN_KICK. To make it more comprehensible, I would flip the if statement logic (never do "if not" if you're also going to have an else statement, it makes it hard to read and understand).
One way to do this is like so: PHP Code:
|
Re: how to get two admin access?
thanks, it worked!
|
All times are GMT -4. The time now is 15:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.