daily pastebin goal
29%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.     Author: Jean_Park
  3.  
  4.    
  5.     • Discord : https://discord.gg/DhFUFsq
  6.     • Email : contact@the-programmer.com
  7.     • Site : the-programmer.com -> support
  8.  
  9.     Terms of use:
  10.         - This file is forbidden unless you have permission from the author. If you have this file without permission to use it please do not use it and do not share it.
  11.         - If you have permission to use this file, you can use it on your server however it is strictly forbidden to share it.
  12.         - Out of respect for the author please do not delete this information
  13. */
  14. #define false 0
  15. #define true 1
  16.  
  17. class The_Programmer_Settings_Iphone {
  18.     default_lang = "fr"; // fr / en / es
  19.  
  20.     gps_script_enable = false;
  21.     interpol_script_enable = false;
  22.     phone_numbers_script_enable = false;
  23.     advenced_phone_script_enable = false;
  24.     bill_system_script_enable = false;
  25.     companies_script_enable = false;
  26.     governement_script_enable = false;
  27.     calls_management_script_enable = false;
  28.     whitelist_menu_script_enable = false;
  29.  
  30.     enable_cellphone_animations = true; // You need to put the "The_Programmer_Cellphone" mod into your modpack !
  31.  
  32.     reboot_1 = "00H00";
  33.     reboot_2 = "06H00";
  34.     reboot_3 = "12H00";
  35.     reboot_4 = "18H00";
  36.  
  37.     default_wallpaper = "The-Programmer\Iphone_X\textures\fonds\fond_3.paa";
  38.    
  39.     Fond[] = {
  40.         {"Forest","The-Programmer\Iphone_X\textures\fonds\fond_1.paa"},
  41.         {"Dark & Red","The-Programmer\Iphone_X\textures\fonds\fond_2.paa"},
  42.         {"Iphone X","The-Programmer\Iphone_X\textures\fonds\fond_3.paa"},
  43.         {"Aninme Wallpaper","The-Programmer\Iphone_X\textures\fonds\fond_4.paa"},
  44.         {"BMW Wallpaper","The-Programmer\Iphone_X\textures\fonds\fond_5.paa"},
  45.         {"Ferrari Wallpaper","The-Programmer\Iphone_X\textures\fonds\fond_6.paa"}
  46.     };
  47.  
  48.     Son_sms[] = {
  49.         {"Mario Mushroom","mario_mushroom"},
  50.         {"Classic Whistle","classic_whistle"},
  51.         {"Iphone","Notif_iphone"},
  52.         {"Samsung","Samsung"}
  53.     };
  54.  
  55.     Sonnerie[] = {
  56.         {"ArmyWakeup","ArmyWakeup"},
  57.         {"Bahbahbah","bahbahbah"},
  58.         {"Dont Worry Be Happy","DontWorryBeHappy"},
  59.         {"Hurr Durr","HurrDurr"},
  60.         {"Iphone","IsThatMyiPhone"},
  61.         {"Rocket Ship","RocketShip"},
  62.         {"Smoke Weed","SmokeWeed"}
  63.     };
  64.  
  65.     class Cfg_Buttons {
  66.         class Clefs {
  67.             action = "createDialog ""The_Programmer_Iphone_Key_Menu"";";
  68.             displayName = "Llaves";
  69.             condition = "";
  70.             picture = "The-Programmer\Iphone_X\textures\icons\clef.paa";
  71.         };
  72.         class Setting {
  73.             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"";};};";
  74.             displayName = "Ajustes";
  75.             condition = "";
  76.             picture = "The-Programmer\Iphone_X\textures\icons\reglage.paa";
  77.         };
  78.         class contact {
  79.             action = "[1] spawn the_programmer_iphone_fnc_contactmenu;";
  80.             displayName = "Contactos";
  81.             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)";
  82.             picture = "The-Programmer\Iphone_X\textures\icons\contact.paa";
  83.         };
  84.         class ButtonMyGang {
  85.             action = "if (isNil ""life_action_gangInUse"") then {if(isNil {(group player) getVariable ""gang_owner""}) then {createDialog ""The_Programmer_Iphone_Create_Gang_Menu"";} else {[] spawn the_programmer_iphone_fnc_gangMenu;};};";
  86.             displayName = "Grupo";
  87.             condition = "";
  88.             picture = "The-Programmer\Iphone_X\textures\icons\groupe.paa";
  89.         };
  90.         class Licences {
  91.             action = "[] call the_programmer_iphone_fnc_Licences_Menu;";
  92.             displayName = "Licencias";
  93.             condition = "";
  94.             picture = "The-Programmer\Iphone_X\textures\icons\licence.paa";
  95.         };
  96.         class SyncData {
  97.             action = "[] call SOCK_fnc_syncData;";
  98.             displayName = "Sincronizar";
  99.             condition = "";
  100.             picture = "The-Programmer\Iphone_X\textures\icons\syncro.paa";
  101.         };
  102.         class Banking {
  103.             action = "[1] call the_programmer_iphone_fnc_PayEasy;";
  104.             displayName = "PayEasy";
  105.             condition = "";
  106.             picture = "The-Programmer\Iphone_X\textures\icons\banque.paa";
  107.         };
  108.         class Inventaire {
  109.             action = "createDialog ""The_Programmer_Iphone_Stuff_Menu"";";
  110.             displayName = "Inventario";
  111.             condition = "";
  112.             picture = "The-Programmer\Iphone_X\textures\icons\sac.paa";
  113.         };
  114.         class Message {
  115.             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"";};";
  116.             displayName = "Mensaje";
  117.             condition = "";
  118.             picture = "The-Programmer\Iphone_X\textures\icons\chat.paa";
  119.         };
  120.         class Weather {
  121.             action = "[] spawn the_programmer_iphone_fnc_weatherMenu;";
  122.             displayName = "Tiempo";
  123.             condition = "";
  124.             picture = "The-Programmer\Iphone_X\textures\icons\Meteo.paa";
  125.         };
  126.         class Camera {
  127.             action = "closeDialog 0; [] spawn the_programmer_iphone_fnc_cameraMenu;";
  128.             displayName = "Camara";
  129.             condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""enable_cellphone_animations"")) isEqualTo 1)";
  130.             picture = "The-Programmer\Iphone_X\textures\icons\camera.paa";
  131.         };
  132.         class Entreprise {
  133.             action = "[] spawn max_entreprise_fnc_openMenu;";
  134.             displayName = "Empresa";
  135.             condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""companies_script_enable"")) isEqualTo 1)";
  136.             picture = "The-Programmer\Iphone_X\textures\icons\Entreprise.paa";
  137.         };
  138.         class Governement {
  139.             action = "closeDialog 0; [] spawn max_gouvernement_fnc_selectGovernementMenu;";
  140.             displayName = "Gobierno";
  141.             condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""governement_script_enable"")) isEqualTo 1)";
  142.             picture = "The-Programmer\Iphone_X\textures\icons\Gouvernement.paa";
  143.         };
  144.         class GPS {
  145.             action = "[] call gps_menu_fnc_loadGPSMenu;";
  146.             displayName = "GPS";
  147.             condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""gps_script_enable"")) isEqualTo 1)";
  148.             picture = "The-Programmer\Iphone_X\textures\icons\gps.paa";
  149.         };
  150.         class Clavier {
  151.             action = "createDialog ""The_Programmer_Iphone_Clavier_Menu"";";
  152.             displayName = "Teclado";
  153.             condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""advenced_phone_script_enable"")) isEqualTo 1)";
  154.             picture = "The-Programmer\Iphone_X\textures\icons\call.paa";
  155.         };
  156.         class Facture {
  157.             action = "createDialog ""facture_list"";";
  158.             displayName = "Facturas";
  159.             condition = "((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""bill_system_script_enable"")) isEqualTo 1)";
  160.             picture = "The-Programmer\Iphone_X\textures\icons\facture.paa";
  161.         };
  162.         class Admin {
  163.             action = "createDialog ""the_programmer_admin_menu"";";
  164.             displayName = "Admin Menu";
  165.             condition = "((call life_adminlevel) >= 1)";
  166.             picture = "The-Programmer\Iphone_X\textures\icons\admin.paa";
  167.         };
  168.         class CallsManagement {
  169.             action = "[] spawn max_callsmanage_fnc_openCallsManagementMenu;";
  170.             displayName = "Dispatch";
  171.             condition = "(((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""calls_management_script_enable"")) isEqualTo 1) && !(playerSide isEqualTo civilian))";
  172.             picture = "The-Programmer\Iphone_X\textures\icons\dispatch.paa";
  173.         };
  174.         class Interpol {
  175.             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;};";
  176.             displayName = "Interpol";
  177.             condition = "playerSide isEqualTo West";
  178.             picture = "The-Programmer\Iphone_X\textures\icons\police.paa";
  179.         };
  180.         class WhiteList {
  181.             action = "createDialog ""whitelist_menu"";";
  182.             displayName = "Whitelist Menu";
  183.             condition = "((call life_adminlevel) >= 1) && ((getNumber (missionConfigFile >> ""The_Programmer_Settings_Iphone"" >> ""whitelist_menu_script_enable"")) isEqualTo 1)";
  184.             picture = "The-Programmer\Iphone_X\textures\icons\whitelist.paa";
  185.         };
  186.        
  187.         class Placeables {
  188.             action = "[] spawn life_fnc_placeablesMenu; closeDialog 0";
  189.             displayName = "Placeables Menu";
  190.             condition = "playerSide isEqualTo West";
  191.             picture = "The-Programmer\Iphone_X\textures\icons\cone.paa";
  192.         };
  193.     };
  194. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top