Thread: Admin only menu
View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-27-2019 , 16:10   Re: Admin only menu
Reply With Quote #8

Quote:
Originally Posted by Andriis View Post
Now I have another problem with this

I tried to do same here
Code:
if(get_user_flags(id) & ADMIN_BAN){
	menu_additem(AMenu,"\yPenalty Menu","0",0)
}else{
	menu_additem(AMenu,"\dPenalty Menu","0",0)
}
I want it like this because if someone can't use that specific menu item, than I want it to show them with grey color.. But it's not working :/
This should be done with callbacks like I just described in my previous post.
__________________
fysiks is offline