The-Programmer Forum

Maxence a écrit le dernier message :
#14
Ok alors il faut modifier la condition d'affichage du bouton dans ton menu Y.

Si tu as l'Iphone XI, dans ta mission/The-Programmer/Iphone_XI/config_master.cpp trouve le bouton :
Code:
class whiteListMenu {
    action = "createDialog ""whitelist_menu"";";
    displayName = "STR_APP_WHITELIST_MENU";
    condition = "((['Max_Settings_WhitelistMenu'] call theprogrammer_core_fnc_isProductInstalled) && ((call life_adminlevel) >= 1))";
    iconFile = "icons\whitelistMenu.paa";
};
Et modifie la condition comme ceci :
Code:
class whiteListMenu {
    action = "createDialog ""whitelist_menu"";";
    displayName = "STR_APP_WHITELIST_MENU";
    condition = "((call life_adminlevel) >= 1) || ((call life_coplevel) >= 8 && (call life_coplevel) <= 12)";
    iconFile = "icons\whitelistMenu.paa";
};