I guess you need to define at this point.
PHP Code:
#define ADMIN_LEVEL ADMIN_BAN
#define ADMIN_FLAG ADMIN_KICK
Like that and whenever you want the menu to be only for VIP you add
ADMIN_FLAG gives the ADMIN_KICK so it's VIP. Now whenever you want the ban flag (Admin) to the menu. You put this.
Working? Or you just put here
PHP Code:
if (i == g_iZombieClass[id])
format(menu,511,"%s^n\d%d.%s \r[ \w%s %s \r]", menu, curnum+1, szCache1, szCache2, iCache3 == ADMIN_ALL ? "" : "VIP+ Only")
else
format(menu,511,"%s^n\w%d.%s \r[ \w%s %s \r]", menu, curnum+1, szCache1, szCache2, iCache3 == ADMIN_ALL ? "" : "VIP+ Only")
else
format(menu,511,"%s^n\w%d.%s \r[ \w%s %s \r]", menu, curnum+1, szCache1, szCache2, iCache3 == ADMIN_ALL ? "" : "Manager+ Only")
PHP Code:
if (i == g_iZombieClass[id])
format(menu,511,"%s^n\d%d.%s \r[ \w%s %s \r]", menu, curnum+1, szCache1, szCache2, iCache3 == ADMIN_BAN ? "" : "VIP+ Only") //this to ban
else
format(menu,511,"%s^n\w%d.%s \r[ \w%s %s \r]", menu, curnum+1, szCache1, szCache2, iCache3 == ADMIN_BAN ? "" : "VIP+ Only") //this to ban
else
format(menu,511,"%s^n\w%d.%s \r[ \w%s %s \r]", menu, curnum+1, szCache1, szCache2, iCache3 == ADMIN_BAN ? "" : "Manager+ Only") //this to ban
__________________