Quote:
Originally Posted by Aleku.
I want them to appear but they can't take them.
|
The proper way to handle this is to use callbacks like I said in my previous post. It should be quite simple actually. The callback function would only need to be a single line:
Code:
public menuitem_callback( id, menu, item )
{
return (get_user_flags(id) & VIP_LEVEL_ACCESS) ? ITEM_IGNORE : ITEM_DISABLED;
}
Doing it this way will show the items but they will be grey and they can't be selected. So, it will be obvious that they exist but can't be chosen.
__________________