how to add item for the category number 8 of the menu or how to replace an item instead of back category ? I tried some ways but some of these ways do shut down the server and others send error messages:
I tried this but is not work:
PHP Code:
menu_setprop( iMenu, MPROP_BACKNAME, fmt( "\wTest Item %s", IsHour( iStart, iEnd ) ? "\y[Active]" : "\d[Disactive]" ) )
//menu handler:
switch( iItem )
{
case MENU_EXIT: menu_destroy( iMenu );
case MENU_BACK: client_print_color( id, print_team_default, "^4[Items]^1 Test Item is not active^1.")//, iStart, iEnd )
/// code....
It replacing the name but can't press on it, also i wanna use it with array so i dont want to use just 8 categories by using the old menu style or adding menu_setprop( iMenu, MPROP_PERPAGE, 0 ); and use menu_additem
__________________