Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 13.15 KB | None | 0 0
  1. #include "player_sys.sqf"
  2.  
  3. class playerSettings {
  4.     idd = playersys_DIALOG;
  5.     movingEnable = 1;
  6.     enableSimulation = 1;
  7.  
  8.     class controlsBackground {
  9.         class Title: Life_RscTitle {
  10.             colorBackground[] = {0, 0, 0, 0};
  11.             idc = -1;
  12.             text = "$STR_PM_Title";
  13.             x = -0.2;
  14.             y = 1.02;
  15.             w = 0.1875;
  16.             h = 0.04;
  17.         };
  18.  
  19.         class moneyStatusInfo: Life_RscStructuredText {
  20.             idc = 2015;
  21.             sizeEx = 0.020;
  22.             text = "";
  23.             x = 0.325;
  24.             y = 0.04;
  25.             w = 0.3;
  26.             h = 0.6;
  27.             colorText[] = { 0, 0, 0, 1 };
  28.         };
  29.  
  30.         class PlayersName: Title {
  31.             idc = carry_weight;
  32.             style = 1;
  33.             text = "";
  34.         };
  35.        
  36.     class controls {
  37.         class itemList: Life_RscListBox {
  38.             idc = item_list;
  39.             sizeEx = 0.030;
  40.             x = -0.3;
  41.             y = 0.4;
  42.             w = 0.392424;
  43.             h = 0.676634;
  44.         };
  45.  
  46.         class moneyEdit: Life_RscEdit {
  47.             idc = 2018;
  48.             text = "1";
  49.             sizeEx = 0.030;
  50.             x = 0.41755;
  51.             y = 0.838249;
  52.             w = 0.0875;
  53.             h = 0.04;
  54.         };
  55.  
  56.         class NearPlayers: Life_RscCombo {
  57.             idc = 2022;
  58.             x = 0.3375;
  59.             y = 0.76;
  60.             w = 0.2625;
  61.             h = 0.04;
  62.         };
  63.  
  64.         class moneyDrop: Life_RscButtonMenu {
  65.             idc = 2001;
  66.             animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
  67.             animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
  68.             animTextureOver = "#(argb,8,8,3)color(1,1,1,0.20)";
  69.             animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
  70.             animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
  71.             animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
  72.             colorBackground[] = {0, 0, 0, 0};
  73.             colorBackground2[] = {1, 1, 1, 0};
  74.             color[] = {1, 1, 1, 0};
  75.             color2[] = {1, 1, 1, 0};
  76.             colorText[] = {1, 1, 1, 0};
  77.             colorDisabled[] = {1, 1, 1, 0};
  78.             text = "";
  79.             onButtonClick = "[] call life_fnc_giveMoney";
  80.             sizeEx = 0.025;
  81.             x = 0.354798;
  82.             y = 0.968215;
  83.             w = 0.213636;
  84.             h = 0.0783163;
  85.         };
  86.  
  87.         class itemEdit: Life_RscEdit {
  88.             idc = item_edit;
  89.             text = "1";
  90.             sizeEx = 0.030;
  91.             x = -0.299242;
  92.             y = 0.92761;
  93.             w = 0.1;
  94.             h = 0.04;
  95.  
  96.         };
  97.  
  98.         class iNearPlayers: Life_RscCombo {
  99.             idc = 2023;
  100.             x = -0.181818;
  101.             y = 0.924242;
  102.             w = 0.248232;
  103.             h = 0.0416835;
  104.         };
  105.  
  106.         class DropButton: Life_RscButtonMenu {
  107.             idc = 2002;
  108.             animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
  109.             animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
  110.             animTextureOver = "#(argb,8,8,3)color(0,0,0,0.20)";
  111.             animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
  112.             animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
  113.             animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
  114.             colorBackground[] = {0, 0, 0, 0};
  115.             colorBackground2[] = {1, 1, 1, 0};
  116.             color[] = {1, 1, 1, 0};
  117.             color2[] = {1, 1, 1, 0};
  118.             colorText[] = {1, 1, 1, 0};
  119.             colorDisabled[] = {1, 1, 1, 0};
  120.             text = "";
  121.             onButtonClick = "[] call life_fnc_giveItem;";
  122.             x = -0.0262626;
  123.             y = 0.843165;
  124.             w = 00.108965;
  125.             h = 0.060202;
  126.         };
  127.  
  128.         class UseButton: Life_RscButtonMenu {
  129.             animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
  130.             animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
  131.             animTextureOver = "#(argb,8,8,3)color(0,0,0,0.20)";
  132.             animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
  133.             animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
  134.             animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
  135.             colorBackground[] = {0, 0, 0, 0};
  136.             colorBackground2[] = {1, 1, 1, 0};
  137.             color[] = {1, 1, 1, 0};
  138.             color2[] = {1, 1, 1, 0};
  139.             colorText[] = {1, 1, 1, 0};
  140.             colorDisabled[] = {1, 1, 1, 0};
  141.             text = "";
  142.             onButtonClick = "[] call life_fnc_useItem;";
  143.             x = -0.165404;
  144.             y = 0.843434;
  145.             w = 0.10802;
  146.             h = 0.0602022;
  147.         };
  148.  
  149.         class RemoveButton: Life_RscButtonMenu {
  150.             animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
  151.             animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
  152.             animTextureOver = "#(argb,8,8,3)color(0,0,0,0.20)";
  153.             animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
  154.             animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
  155.             animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
  156.             colorBackground[] = {0, 0, 0, 0};
  157.             colorBackground2[] = {1, 1, 1, 0};
  158.             color[] = {1, 1, 1, 0};
  159.             color2[] = {1, 1, 1, 0};
  160.             colorText[] = {1, 1, 1, 0};
  161.             colorDisabled[] = {1, 1, 1, 0};
  162.             text = "";
  163.             onButtonClick = "[] call life_fnc_removeItem;";
  164.             x = -0.303788;
  165.             y = 0.843367;
  166.             w = 0.107703;
  167.             h = 0.0602021;
  168.         };
  169.  
  170.         class ButtonClose: Life_RscButtonMenu {
  171.             idc = -1;
  172.             animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
  173.             animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
  174.             animTextureOver = "#(argb,8,8,3)color(0,0,0,0.20)";
  175.             animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
  176.             animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
  177.             animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
  178.             colorBackground[] = {0, 0, 0, 0};
  179.             colorBackground2[] = {1, 1, 1, 0};
  180.             color[] = {1, 1, 1, 0};
  181.             color2[] = {1, 1, 1, 0};
  182.             colorText[] = {1, 1, 1, 0};
  183.             colorDisabled[] = {1, 1, 1, 0};
  184.             text = "";
  185.             onButtonClick = "closeDialog 0;";
  186.             x = 1.14861;
  187.             y = -0.13495;
  188.             w = 0.0875;
  189.             h = 0.16;
  190.         };
  191.  
  192.         class ButtonSettings: Life_RscButtonMenu {
  193.             idc = -1;
  194.             animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
  195.             animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
  196.             animTextureOver = "#(argb,8,8,3)color(0,0,0,0.20)";
  197.             animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
  198.             animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
  199.             animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
  200.             colorBackground[] = {0, 0, 0, 0};
  201.             colorBackground2[] = {1, 1, 1, 0};
  202.             color[] = {1, 1, 1, 0};
  203.             color2[] = {1, 1, 1, 0};
  204.             colorText[] = {1, 1, 1, 0};
  205.             colorDisabled[] = {1, 1, 1, 0};
  206.             text = "";
  207.             onButtonClick = "[] call life_fnc_settingsMenu;";
  208.             x = -0.0387626;
  209.             y = 0.08;
  210.             w = 0.174622;
  211.             h = 0.050101;
  212.         };
  213.  
  214.         class ButtonMyGang: Life_RscButtonMenu {
  215.             idc = 2011;
  216.             animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
  217.             animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
  218.             animTextureOver = "#(argb,8,8,3)color(0,0,0,0.20)";
  219.             animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
  220.             animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
  221.             animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
  222.             colorBackground[] = {0, 0, 0, 0};
  223.             colorBackground2[] = {1, 1, 1, 0};
  224.             color[] = {1, 1, 1, 0};
  225.             color2[] = {1, 1, 1, 0};
  226.             colorText[] = {1, 1, 1, 0};
  227.             colorDisabled[] = {1, 1, 1, 0};
  228.             text = "";
  229.             onButtonClick = "if (isNil ""life_action_gangInUse"") then {if (isNil {(group player) getVariable ""gang_owner""}) then {createDialog ""Life_Create_Gang_Diag"";} else {[] spawn life_fnc_gangMenu;};};";
  230.             x = -0.0387626;
  231.             y = 0.8;
  232.             w = 0.174622;
  233.             h = 0.050101;
  234.         };
  235.  
  236.        
  237.         class Licenses_Menu : Life_RscControlsGroup {
  238.             colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.5])"};
  239.             idc = -1;
  240.             w = 0.28;
  241.             h = 0.38;
  242.             x = 0.80;
  243.             y = 0.05;
  244.  
  245.             class Controls {
  246.                 class Life_Licenses: Life_RscStructuredText {
  247.                     idc = 2014;
  248.                     sizeEx = 0.020;
  249.                     text = "";
  250.                     x = 0;
  251.                     y = 0;
  252.                     w = 0.27;
  253.                     h = 0.65;
  254.                 };
  255.             };
  256.         };
  257.  
  258.         class ButtonGangList: Life_RscButtonMenu {
  259.             idc = 2012;
  260.             animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
  261.             animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
  262.             animTextureOver = "#(argb,8,8,3)color(1,1,1,0.20)";
  263.             animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
  264.             animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
  265.             animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
  266.             colorBackground[] = {0, 0, 0, 0};
  267.             colorBackground2[] = {1, 1, 1, 0};
  268.             color[] = {1, 1, 1, 0};
  269.             color2[] = {1, 1, 1, 0};
  270.             colorText[] = {1, 1, 1, 0};
  271.             colorDisabled[] = {1, 1, 1, 0};
  272.             text = "";
  273.             onButtonClick = "[] call life_fnc_wantedMenu";
  274.             x = -0.0391413;
  275.             y = 0.164983;
  276.             w = 0.173359;
  277.             h = 0.050101;
  278.         };
  279.  
  280.         class ButtonKeys: Life_RscButtonMenu {
  281.             idc = 2013;
  282.             animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
  283.             animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
  284.             animTextureOver = "#(argb,8,8,3)color(1,1,1,0.20)";
  285.             animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
  286.             animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
  287.             animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
  288.             colorBackground[] = {0, 0, 0, 0};
  289.             colorBackground2[] = {1, 1, 1, 0};
  290.             color[] = {1, 1, 1, 0};
  291.             color2[] = {1, 1, 1, 0};
  292.             colorText[] = {1, 1, 1, 0};
  293.             colorDisabled[] = {1, 1, 1, 0};
  294.             text = "";
  295.             onButtonClick = "createDialog ""Life_key_management"";";
  296.             x = 0.170455;
  297.             y = 0.0808081;
  298.             w = 0.173359;
  299.             h = 0.050101;
  300.         };
  301.  
  302.         class ButtonCell: Life_RscButtonMenu {
  303.             idc = 2014;
  304.             animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
  305.             animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
  306.             animTextureOver = "#(argb,8,8,3)color(1,1,1,0.20)";
  307.             animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
  308.             animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
  309.             animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
  310.             colorBackground[] = {0, 0, 0, 0};
  311.             colorBackground2[] = {1, 1, 1, 0};
  312.             color[] = {1, 1, 1, 0};
  313.             color2[] = {1, 1, 1, 0};
  314.             colorText[] = {1, 1, 1, 0};
  315.             colorDisabled[] = {1, 1, 1, 0};
  316.             text = "";
  317.             onButtonClick = "createDialog ""Life_cell_phone"";";
  318.             x = 0.383838;
  319.             y = 0.08;
  320.             w = 0.173359;
  321.             h = 0.050101;
  322.         };
  323.  
  324.         class ButtonAdminMenu: Life_RscButtonMenu {
  325.             idc = 2021;
  326.             animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
  327.             animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
  328.             animTextureOver = "#(argb,8,8,3)color(1,1,1,0.20)";
  329.             animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
  330.             animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
  331.             animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
  332.             colorBackground[] = {0, 0, 0, 0};
  333.             colorBackground2[] = {1, 1, 1, 0};
  334.             color[] = {1, 1, 1, 0};
  335.             color2[] = {1, 1, 1, 0};
  336.             colorText[] = {1, 1, 1, 0};
  337.             colorDisabled[] = {1, 1, 1, 0};
  338.             text = "";
  339.             onButtonClick = "createDialog ""life_admin_menu"";";
  340.             x = -0.25;
  341.             y = 0.163367;
  342.             w = 0.173359;
  343.             h = 0.0517845;
  344.         };
  345.  
  346.         class ButtonSyncData: Life_RscButtonMenu {
  347.             idc = -1;
  348.             animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
  349.             animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
  350.             animTextureOver = "#(argb,8,8,3)color(1,1,1,0.20)";
  351.             animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
  352.             animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
  353.             animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
  354.             colorBackground[] = {0, 0, 0, 0};
  355.             colorBackground2[] = {1, 1, 1, 0};
  356.             color[] = {1, 1, 1, 0};
  357.             color2[] = {1, 1, 1, 0};
  358.             colorText[] = {1, 1, 1, 0};
  359.             colorDisabled[] = {1, 1, 1, 0};
  360.             text = "";
  361.             onButtonClick = "[] call SOCK_fnc_syncData;";
  362.             x = 1.00253;
  363.             y = 0.080808;
  364.             w = 0.173359;
  365.             h = 0.050101;
  366.         };
  367.        
  368.         class ButtonMarket : Life_RscButtonMenu {
  369.             idc = 3025;
  370.             animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
  371.             animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
  372.             animTextureOver = "#(argb,8,8,3)color(1,1,1,0.20)";
  373.             animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
  374.             animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
  375.             animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
  376.             colorBackground[] = {0, 0, 0, 0};
  377.             colorBackground2[] = {1, 1, 1, 0};
  378.             color[] = {1, 1, 1, 0};
  379.             color2[] = {1, 1, 1, 0};
  380.             colorText[] = {1, 1, 1, 0};
  381.             colorDisabled[] = {1, 1, 1, 0};
  382.             text = "";
  383.             onButtonClick = "[] spawn life_fnc_openMarketView;";
  384.             x = 589899;
  385.             y = 0.0814815;
  386.             w = 0.174621;
  387.             h = 0.050101;
  388.         };
  389.        
  390.         class TabletteExystia: Life_RscPicture {
  391.             idc = -1;
  392.             text = "textures\tabletwallpaper.jpg";
  393.             x = -0.325;
  394.             y = -0.14;
  395.             w = 1.59255;
  396.             h = 1.30337;
  397.         };
  398.     };
  399. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement