Quote:
Originally Posted by TitANious
2. When i disable, exampel AWP in pcvar, then it can still be seen in menu, but you cant take it
|
Check the cvar when creating the menu and if it's not zero then add the item.
PHP Code:
if(get_pcvar_num(mycvarpointer))
{
menu_additem( /* .... */)
}
Don't change any data or the handler.
__________________