Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 7.58 KB | None | 0 0
  1. /*
  2.     Author: Jean_Park
  3.     Teamspeak 3: ts.the-programmer.com
  4.     Web site: www.the-programmer.com
  5.     Discord : https://discord.gg/DhFUFsq
  6.  
  7.     Terms of use:
  8.         - 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.
  9.         - If you have permission to use this file, you can use it on your server however it is strictly forbidden to share it.
  10.         - Out of respect for the author please do not delete this information.
  11.  
  12.     License number:
  13.     Server's name:
  14.     Owner's name:
  15. */
  16. class The_Programmer_Iphone_Settings_Menu_2 {
  17.   idd = 5001;
  18.    name = "The_Programmer_Iphone_Settings_Menu_2";
  19.   movingenable = 1;
  20.    enablesimulation = 1;
  21.   onload = "[_this select 0] spawn The_programmer_iphone_fnc_settings_Menu";
  22.   onunload = "closeDialog 0; [] spawn the_programmer_iphone_fnc_phone_init;";
  23.   class controlsBackground
  24.    {
  25.       class Life_RscTitleBackground : Life_RscPicture
  26.        {
  27.            text = "The-Programmer\Iphone_X\textures\settings\parametre_v2.paa";
  28.           idc = 2000;
  29.           x = 0.6379405 * safezoneW + safezoneX;
  30.           y = 0.289727765978368 * safezoneH + safezoneY;
  31.           w = 0.21 * safezoneW;
  32.           h = 0.7 * safezoneH;
  33.        };
  34.    };
  35.   class controls
  36.    {
  37.       class VD_onfoot_value : Life_RscEditWithNoBorder
  38.        {
  39.           idc = 2902;
  40.            text = "";
  41.            // onchar = "[_this select 0, _this select 1,'ground',false] call The_programmer_iphone_fnc_s_onCharSetting;";
  42.            // onkeyup = "[_this select 0, _this select 1,'ground',true] call The_programmer_iphone_fnc_s_onCharSetting;";
  43.           onkeyup = "[_this select 0, 'ground'] call The_programmer_iphone_fnc_s_onCharSetting;";
  44.           x = 0.747083333333333 * safezoneW + safezoneX;
  45.           y = 0.521406096361849 * safezoneH + safezoneY;
  46.           w = 0.07 * safezoneW;
  47.           h = 0.03 * safezoneH;
  48.           colortext[] = {0, 0, 0, 1};
  49.        };
  50.       class VD_car_value : Life_RscEditWithNoBorder
  51.        {
  52.           idc = 2912;
  53.            text = "";
  54.            // onchar = "[_this select 0, _this select 1,'vehicle',false] call The_programmer_iphone_fnc_s_onCharSetting;";
  55.            // onkeyup = "[_this select 0, _this select 1,'vehicle',true] call The_programmer_iphone_fnc_s_onCharSetting;";
  56.           onkeyup = "[_this select 0, 'vehicle'] call The_programmer_iphone_fnc_s_onCharSetting;";
  57.           x = 0.747083333333333 * safezoneW + safezoneX;
  58.           y = 0.602035398230087 * safezoneH + safezoneY;
  59.           w = 0.07 * safezoneW;
  60.           h = 0.03 * safezoneH;
  61.           colortext[] = {0, 0, 0, 1};
  62.        };
  63.       class VD_air_value : Life_RscEditWithNoBorder
  64.        {
  65.           idc = 2922;
  66.            text = "";
  67.            // onchar = "[_this select 0, _this select 1,'air',false] call The_programmer_iphone_fnc_s_onCharSetting;";
  68.            // onkeyup = "[_this select 0, _this select 1,'air',true] call The_programmer_iphone_fnc_s_onCharSetting;";
  69.           onkeyup = "[_this select 0, 'air'] call The_programmer_iphone_fnc_s_onCharSetting;";
  70.           x = 0.747083333333333 * safezoneW + safezoneX;
  71.           y = 0.562556538839726 * safezoneH + safezoneY;
  72.           w = 0.07 * safezoneW;
  73.           h = 0.03 * safezoneH;
  74.           colortext[] = {0, 0, 0, 1};
  75.        };
  76.       class Fermer : Life_RscButtonInvisible
  77.        {
  78.           idc = -1;
  79.           tooltip = "Home";
  80.           onbuttonclick = "closeDialog 0; [] spawn the_programmer_iphone_fnc_phone_init;";
  81.           x = 0.732093666666666 * safezoneW + safezoneX;
  82.           y = 0.907587959685349 * safezoneH + safezoneY;
  83.           w = 0.025877 * safezoneW;
  84.           h = 0.0439812 * safezoneH;
  85.        };
  86.       class Reboot : Life_RscButtonInvisible
  87.        {
  88.           idc = -1;
  89.           tooltip = "Reboot";
  90.           onbuttonclick = "[] call the_programmer_iphone_fnc_reboot;";
  91.           x = 0.807894833333333 * safezoneW + safezoneX;
  92.           y = 0.312326017502458 * safezoneH + safezoneY;
  93.           w = 0.01 * safezoneW;
  94.           h = 0.02 * safezoneH;
  95.        };
  96.       class Son_Sms : Life_RscButtonInvisible
  97.        {
  98.           x = 0.654288833333333 * safezoneW + safezoneX;
  99.           y = 0.408120613569322 * safezoneH + safezoneY;
  100.           w = 0.175 * safezoneW;
  101.           h = 0.039216 * safezoneH;
  102.           idc = -1;
  103.           onbuttonclick = "[1] call the_programmer_iphone_fnc_Settings_General";
  104.        };
  105.       class Desactivee : Life_RscButtonInvisible
  106.        {
  107.           x = 0.654288833333333 * safezoneW + safezoneX;
  108.           y = 0.666724350049164 * safezoneH + safezoneY;
  109.           w = 0.175 * safezoneW;
  110.           h = 0.039216 * safezoneH;
  111.           idc = -1;
  112.           onbuttonclick = "setTerrainGrid 50; hint ([""STR_CHANGE_GRASS_NO"",""The_Programmer_Settings_Iphone"",""Iphone_Localization""] call theprogrammer_core_fnc_localize);";
  113.        };
  114.       class Faible : Life_RscButtonInvisible
  115.        {
  116.           x = 0.654288833333333 * safezoneW + safezoneX;
  117.           y = 0.706055716814159 * safezoneH + safezoneY;
  118.           w = 0.175 * safezoneW;
  119.           h = 0.039216 * safezoneH;
  120.           idc = -1;
  121.           onbuttonclick = "setTerrainGrid 30; hint ([""STR_CHANGE_GRASS_LOW"",""The_Programmer_Settings_Iphone"",""Iphone_Localization""] call theprogrammer_core_fnc_localize);";
  122.        };
  123.       class Normal : Life_RscButtonInvisible
  124.        {
  125.           x = 0.654288833333333 * safezoneW + safezoneX;
  126.           y = 0.748336936086529 * safezoneH + safezoneY;
  127.           w = 0.175 * safezoneW;
  128.           h = 0.039216 * safezoneH;
  129.           idc = -1;
  130.           onbuttonclick = "setTerrainGrid 12.5; hint ([""STR_CHANGE_GRASS_NORMAL"",""The_Programmer_Settings_Iphone"",""Iphone_Localization""] call theprogrammer_core_fnc_localize);";
  131.        };
  132.       class Eleve : Life_RscButtonInvisible
  133.        {
  134.           x = 0.654288833333333 * safezoneW + safezoneX;
  135.           y = 0.786685018682399 * safezoneH + safezoneY;
  136.           w = 0.175 * safezoneW;
  137.           h = 0.039216 * safezoneH;
  138.           idc = -1;
  139.           onbuttonclick = "setTerrainGrid 3.125; hint ([""STR_CHANGE_GRASS_HIGHT"",""The_Programmer_Settings_Iphone"",""Iphone_Localization""] call theprogrammer_core_fnc_localize);";
  140.        };
  141.       class Fond_Ecran : Life_RscButtonInvisible
  142.        {
  143.           x = 0.654288833333333 * safezoneW + safezoneX;
  144.           y = 0.853097345132743 * safezoneH + safezoneY;
  145.           w = 0.153 * safezoneW;
  146.           h = 0.04 * safezoneH;
  147.           idc = -1;
  148.           onbuttonclick = "[0] call the_programmer_iphone_fnc_Settings_General;";
  149.        };
  150.       class MORE : Life_RscButtonInvisible
  151.        {
  152.           x = 0.807894833333333 * safezoneW + safezoneX;
  153.           y = 0.862930186823992 * safezoneH + safezoneY;
  154.           w = 0.02 * safezoneW;
  155.           h = 0.03 * safezoneH;
  156.           idc = -1;
  157.           tooltip = "-->";
  158.           onbuttonclick = "createdialog ""The_Programmer_Iphone_Settings_Menu_p1"";";
  159.        };
  160.       class Silencieux : Life_Checkbox
  161.        {
  162.           idc = 3000;
  163.           x = 0.770833333333333 * safezoneW + safezoneX;
  164.           y = 0.458702064896755 * safezoneH + safezoneY;
  165.           sizeex = 0.04;
  166.           colorfocused[] = {0,0,0,1};
  167.           colorhover[] = {0,0,0,1};
  168.           colorpressed[] = {0,0,0,1};
  169.           tooltipcolorbox[] = {0,0,0,1};
  170.           color[] = {0,0,0,1};
  171.           colordisabled[] = {0,0,0,1};
  172.           oncheckedchanged = "[2,_this] call The_programmer_iphone_fnc_Settings_LbChanged;";
  173.        };
  174.    };
  175. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement