Hey , ich wollte fragen , ob hier jemand weiß , wie ich bei dem I Phone X von TheProgrammer , neue Buttons hinzufügen kann.
MFG
Fynn
Hey , ich wollte fragen , ob hier jemand weiß , wie ich bei dem I Phone X von TheProgrammer , neue Buttons hinzufügen kann.
MFG
Fynn
Wende dich doch bitte an den Support von The Programmer, ansonsten streng doch mal deinen Kopf stark an, wie du bei einem Dialog einen Button hinzufügst
in der master_config einfach hizufügen:
class Cfg_Buttons {
class Clefs {
action = "createDialog ""The_Programmer_Iphone_Key_Menu"";";
displayName = "Keys";
condition = "";
picture = "The-Programmer\Iphone_X\textures\icons\clef.paa";
};
class Setting {
action = "if (((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""phone_numbers_script_enable"")) isEqualTo 1) && ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""advenced_phone_script_enable"")) isEqualTo 1)) then {createDialog ""The_Programmer_Iphone_Settings_Menu_3"";} else {if ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""phone_numbers_script_enable"")) isEqualTo 1) then {createDialog ""The_Programmer_Iphone_Settings_Menu_2"";} else {createDialog ""The_Programmer_Iphone_Settings_Menu"";};};";
displayName = "Settings";
condition = "";
picture = "The-Programmer\Iphone_X\textures\icons\reglage.paa";
};
class contact {
action = "[1] spawn the_programmer_iphone_fnc_contactmenu;";
displayName = "Contacts";
condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""advenced_phone_script_enable"")) isEqualTo 1) || ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""phone_numbers_script_enable"")) isEqualTo 1)";
picture = "The-Programmer\Iphone_X\textures\icons\contact.paa";
};
class ButtonMyGang {
action = "0 call life_fnc_gang_openDialog";
displayName = "Gang";
condition = "playerSide isEqualTo Civilian";
picture = "The-Programmer\Iphone_X\textures\icons\groupe.paa";
};
class Licences {
action = "[] call the_programmer_iphone_fnc_Licences_Menu;";
displayName = "Licenses";
condition = "";
picture = "The-Programmer\Iphone_X\textures\icons\licence.paa";
};
class SyncData {
action = "[] call SOCK_fnc_syncData;";
displayName = "Sync Data";
condition = "";
picture = "The-Programmer\Iphone_X\textures\icons\syncro.paa";
};
class Banking {
action = "[1] call the_programmer_iphone_fnc_PayEasy;";
displayName = "PayEasy";
condition = "";
picture = "The-Programmer\Iphone_X\textures\icons\banque.paa";
};
class Inventaire {
action = "createDialog ""The_Programmer_Iphone_Stuff_Menu"";";
displayName = "Inventory";
condition = "";
picture = "The-Programmer\Iphone_X\textures\icons\sac.paa";
};
class Message {
action = "if ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""phone_numbers_script_enable"")) isEqualTo 1) then {createDialog ""The_Programmer_Iphone_Cell_Menu""; } else {createDialog ""The_Programmer_Iphone_Cell_TONIC_Menu"";};";
displayName = "Message";
condition = "";
picture = "The-Programmer\Iphone_X\textures\icons\chat.paa";
};
class Weather {
action = "[] spawn the_programmer_iphone_fnc_weatherMenu;";
displayName = "Weather";
condition = "";
picture = "The-Programmer\Iphone_X\textures\icons\Meteo.paa";
};
class Camera {
action = "closeDialog 0; [] spawn the_programmer_iphone_fnc_cameraMenu;";
displayName = "Camera";
condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""enable_cellphone_animations"")) isEqualTo 1)";
picture = "The-Programmer\Iphone_X\textures\icons\camera.paa";
};
class Entreprise {
action = "[] spawn max_entreprise_fnc_openMenu;";
displayName = "Company";
condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""companies_script_enable"")) isEqualTo 1)";
picture = "The-Programmer\Iphone_X\textures\icons\Entreprise.paa";
};
class Governement {
action = "closeDialog 0; [] spawn max_gouvernement_fnc_selectGovernementMenu;";
displayName = "Governement";
condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""governement_script_enable"")) isEqualTo 1)";
picture = "The-Programmer\Iphone_X\textures\icons\Gouvernement.paa";
};
class GPS {
action = "[] call gps_menu_fnc_loadGPSMenu;";
displayName = "GPS";
condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""gps_script_enable"")) isEqualTo 1)";
picture = "The-Programmer\Iphone_X\textures\icons\gps.paa";
};
class Clavier {
action = "createDialog ""The_Programmer_Iphone_Clavier_Menu"";";
displayName = "Number Pad";
condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""advenced_phone_script_enable"")) isEqualTo 1)";
picture = "The-Programmer\Iphone_X\textures\icons\call.paa";
};
class Facture {
action = "createDialog ""facture_list"";";
displayName = "Bills";
condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""bill_system_script_enable"")) isEqualTo 1)";
picture = "The-Programmer\Iphone_X\textures\icons\facture.paa";
};
class Admin {
action = "abcdefghijklmnopqrstuvwxy = true";
displayName = "Admin Menu";
condition = "((call life_adminlevel) > 1)";
picture = "The-Programmer\Iphone_X\textures\icons\admin.paa";
};
class CallsManagement {
action = "[] spawn max_callsmanage_fnc_openCallsManagementMenu;";
displayName = "Dispatch";
condition = "(((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""calls_management_script_enable"")) isEqualTo 1) && !(playerSide isEqualTo civilian))";
picture = "The-Programmer\Iphone_X\textures\icons\dispatch.paa";
};
class Interpol {
action = "if ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""interpol_script_enable"")) isEqualTo 1) then {closeDialog 0; [0] remoteExec [""max_interpol_fnc_getInterpol"",2];} else {[] call life_fnc_wantedMenu;};";
displayName = "Interpol";
condition = "playerSide isEqualTo West";
picture = "The-Programmer\Iphone_X\textures\icons\police.paa";
};
class Market {
action = "[] spawn life_fnc_openMarketView;";
displayName = "Markt";
condition = "";
picture = "The-Programmer\Iphone_X\textures\icons\bourse1.paa";
};
class neu{
action = "[] spawn life_fnc_openMarketView;";
displayName = "Markt";
condition = "";
picture = "The-Programmer\Iphone_X\textures\icons\bourse1.paa";
};
Alles anzeigen
in der master_config einfach hizufügen:
Code Alles anzeigenclass Cfg_Buttons { class Clefs { action = "createDialog ""The_Programmer_Iphone_Key_Menu"";"; displayName = "Keys"; condition = ""; picture = "The-Programmer\Iphone_X\textures\icons\clef.paa"; }; class Setting { action = "if (((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""phone_numbers_script_enable"")) isEqualTo 1) && ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""advenced_phone_script_enable"")) isEqualTo 1)) then {createDialog ""The_Programmer_Iphone_Settings_Menu_3"";} else {if ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""phone_numbers_script_enable"")) isEqualTo 1) then {createDialog ""The_Programmer_Iphone_Settings_Menu_2"";} else {createDialog ""The_Programmer_Iphone_Settings_Menu"";};};"; displayName = "Settings"; condition = ""; picture = "The-Programmer\Iphone_X\textures\icons\reglage.paa"; }; class contact { action = "[1] spawn the_programmer_iphone_fnc_contactmenu;"; displayName = "Contacts"; condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""advenced_phone_script_enable"")) isEqualTo 1) || ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""phone_numbers_script_enable"")) isEqualTo 1)"; picture = "The-Programmer\Iphone_X\textures\icons\contact.paa"; }; class ButtonMyGang { action = "0 call life_fnc_gang_openDialog"; displayName = "Gang"; condition = "playerSide isEqualTo Civilian"; picture = "The-Programmer\Iphone_X\textures\icons\groupe.paa"; }; class Licences { action = "[] call the_programmer_iphone_fnc_Licences_Menu;"; displayName = "Licenses"; condition = ""; picture = "The-Programmer\Iphone_X\textures\icons\licence.paa"; }; class SyncData { action = "[] call SOCK_fnc_syncData;"; displayName = "Sync Data"; condition = ""; picture = "The-Programmer\Iphone_X\textures\icons\syncro.paa"; }; class Banking { action = "[1] call the_programmer_iphone_fnc_PayEasy;"; displayName = "PayEasy"; condition = ""; picture = "The-Programmer\Iphone_X\textures\icons\banque.paa"; }; class Inventaire { action = "createDialog ""The_Programmer_Iphone_Stuff_Menu"";"; displayName = "Inventory"; condition = ""; picture = "The-Programmer\Iphone_X\textures\icons\sac.paa"; }; class Message { action = "if ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""phone_numbers_script_enable"")) isEqualTo 1) then {createDialog ""The_Programmer_Iphone_Cell_Menu""; } else {createDialog ""The_Programmer_Iphone_Cell_TONIC_Menu"";};"; displayName = "Message"; condition = ""; picture = "The-Programmer\Iphone_X\textures\icons\chat.paa"; }; class Weather { action = "[] spawn the_programmer_iphone_fnc_weatherMenu;"; displayName = "Weather"; condition = ""; picture = "The-Programmer\Iphone_X\textures\icons\Meteo.paa"; }; class Camera { action = "closeDialog 0; [] spawn the_programmer_iphone_fnc_cameraMenu;"; displayName = "Camera"; condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""enable_cellphone_animations"")) isEqualTo 1)"; picture = "The-Programmer\Iphone_X\textures\icons\camera.paa"; }; class Entreprise { action = "[] spawn max_entreprise_fnc_openMenu;"; displayName = "Company"; condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""companies_script_enable"")) isEqualTo 1)"; picture = "The-Programmer\Iphone_X\textures\icons\Entreprise.paa"; }; class Governement { action = "closeDialog 0; [] spawn max_gouvernement_fnc_selectGovernementMenu;"; displayName = "Governement"; condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""governement_script_enable"")) isEqualTo 1)"; picture = "The-Programmer\Iphone_X\textures\icons\Gouvernement.paa"; }; class GPS { action = "[] call gps_menu_fnc_loadGPSMenu;"; displayName = "GPS"; condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""gps_script_enable"")) isEqualTo 1)"; picture = "The-Programmer\Iphone_X\textures\icons\gps.paa"; }; class Clavier { action = "createDialog ""The_Programmer_Iphone_Clavier_Menu"";"; displayName = "Number Pad"; condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""advenced_phone_script_enable"")) isEqualTo 1)"; picture = "The-Programmer\Iphone_X\textures\icons\call.paa"; }; class Facture { action = "createDialog ""facture_list"";"; displayName = "Bills"; condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""bill_system_script_enable"")) isEqualTo 1)"; picture = "The-Programmer\Iphone_X\textures\icons\facture.paa"; }; class Admin { action = "abcdefghijklmnopqrstuvwxy = true"; displayName = "Admin Menu"; condition = "((call life_adminlevel) > 1)"; picture = "The-Programmer\Iphone_X\textures\icons\admin.paa"; }; class CallsManagement { action = "[] spawn max_callsmanage_fnc_openCallsManagementMenu;"; displayName = "Dispatch"; condition = "(((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""calls_management_script_enable"")) isEqualTo 1) && !(playerSide isEqualTo civilian))"; picture = "The-Programmer\Iphone_X\textures\icons\dispatch.paa"; }; class Interpol { action = "if ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""interpol_script_enable"")) isEqualTo 1) then {closeDialog 0; [0] remoteExec [""max_interpol_fnc_getInterpol"",2];} else {[] call life_fnc_wantedMenu;};"; displayName = "Interpol"; condition = "playerSide isEqualTo West"; picture = "The-Programmer\Iphone_X\textures\icons\police.paa"; }; class Market { action = "[] spawn life_fnc_openMarketView;"; displayName = "Markt"; condition = ""; picture = "The-Programmer\Iphone_X\textures\icons\bourse1.paa"; }; class neu{ action = "[] spawn life_fnc_openMarketView;"; displayName = "Markt"; condition = ""; picture = "The-Programmer\Iphone_X\textures\icons\bourse1.paa"; };
Danke kann geschlossen werden Shadow l Eagle Kuchenplatte