Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "player_sys.sqf"
- class playerSettings {
- idd = playersys_DIALOG;
- movingEnable = true;
- enableSimulation = true;
- class controlsBackground {
- class InvTablet: unit_RscPicture {
- idc = 9090909;
- text = "textures\menu.paa";
- x = 0;
- y = -0.12;
- w = 1;
- h = 1.28;
- };
- class life_RscTitleBackground:uniy_RscText {
- colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
- idc = -1;
- x = 0.1;
- y = 0.2;
- w = 0.8;
- h = (1 / 25);
- };
- class MainBackground:unit_RscText {
- colorBackground[] = {0, 0, 0, 0.7};
- idc = -1;
- x = 0.1;
- y = 0.2 + (11 / 250);
- w = 0.8;
- h = 0.6 - (22 / 250);
- };
- class Title : unit_RscTitle {
- colorBackground[] = {0, 0, 0, 0};
- idc = -1;
- text = "$STR_PM_Title";
- x = 0.1;
- y = 0.2;
- w = 0.8;
- h = (1 / 25);
- };
- class moneyStatusInfo : unit_RscStructuredText
- {
- idc = 2015;
- sizeEx = 0.020;
- text = "";
- x = 0.105;
- y = 0.30;
- w = 0.3; h = 0.6;
- };
- class PlayersName : Title {
- idc = carry_weight;
- style = 1;
- text = "";
- };
- };
- class controls {
- class itemHeader : unit_RscText
- {
- idc = -1;
- colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
- text = "$STR_PM_cItems";
- sizeEx = 0.04;
- x = 0.62; y = 0.26;
- w = 0.275; h = 0.04;
- };
- class licenseHeader : unit_RscText
- {
- idc = -1;
- colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
- text = "$STR_PM_Licenses";
- sizeEx = 0.04;
- x = 0.336; y = 0.26;
- w = 0.275; h = 0.04;
- };
- class moneySHeader : unit_RscText
- {
- idc = -1;
- colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
- text = "$STR_PM_MoneyStats";
- sizeEx = 0.04;
- x = 0.11; y = 0.26;
- w = 0.219; h = 0.04;
- };
- class itemList : unit_RscListBox
- {
- idc = item_list;
- sizeEx = 0.030;
- x = 0.62; y = 0.30;
- w = 0.275; h = 0.3;
- };
- class moneyEdit : unit_RscEdit
- {
- idc = 2018;
- text = "1";
- sizeEx = 0.030;
- x = 0.12; y = 0.42;
- w = 0.18; h = 0.03;
- };
- class NearPlayers : unit_RscCombo
- {
- idc = 2022;
- x = 0.12; y = 0.46;
- w = 0.18; h = 0.03;
- };
- class moneyDrop : unit_RscButtonMenu
- {
- idc = 2001;
- text = "$STR_Global_Give";
- colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
- onButtonClick = "[] call life_fnc_giveMoney";
- sizeEx = 0.025;
- x = 0.135; y = 0.50;
- w = 0.13; h = 0.036;
- };
- class itemEdit : unit_RscEdit {
- idc = item_edit;
- text = "1";
- sizeEx = 0.030;
- x = 0.62; y = 0.61;
- w = 0.275; h = 0.03;
- };
- class iNearPlayers : unit_RscCombo
- {
- idc = 2023;
- x = 0.62; y = 0.65;
- w = 0.275; h = 0.03;
- };
- /*
- Disabled till it can be redone
- class moneyInput: unit_RscCombo {
- idc = money_value;
- x = 0.02; y = 0.402;
- w = .1; h = .030;
- };
- */
- class DropButton : unit_RscButtonMenu {
- idc = 2002;
- text = "$STR_Global_Give";
- colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
- onButtonClick = "[] call life_fnc_giveItem;";
- x = 0.765;
- y = 0.70;
- w = (5.25 / 40);
- h = (1 / 25);
- };
- class UseButton : unit_RscButtonMenu {
- text = "$STR_Global_Use";
- colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
- onButtonClick = "[] call life_fnc_useItem;";
- x = 0.62;
- y = 0.70;
- w = (5.25 / 40);
- h = (1 / 25);
- };
- class RemoveButton : unit_RscButtonMenu {
- text = "$STR_Global_Remove";
- colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5};
- onButtonClick = "[] call life_fnc_removeItem;";
- x = 0.475;
- y = 0.70;
- w = (5.25 / 40);
- h = (1 / 25);
- };
- class ButtonClose : unit_RscButtonMenu {
- idc = -1;
- //shortcuts[] = {0x00050000 + 2};
- text = "$STR_Global_Close";
- onButtonClick = "closeDialog 0;";
- x = 0.1;
- y = 0.8 - (1 / 25);
- w = (6.25 / 40);
- h = (1 / 25);
- };
- class ButtonSettings : unit_RscButtonMenu {
- idc = -1;
- text = "$STR_Global_Settings";
- onButtonClick = "[] call life_fnc_settingsMenu;";
- x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
- y = 0.8 - (1 / 25);
- w = (6.25 / 40);
- h = (1 / 25);
- };
- class ButtonMyGang : unit_RscButtonMenu {
- idc = 2011;
- text = "$STR_PM_MyGang";
- 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;};};";
- x = 0.1 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH));
- y = 0.8 - (1 / 25);
- w = (6.25 / 40);
- h = (1 / 25);
- };
- class Licenses_Menu : unit_RscControlsGroup
- {
- idc = -1;
- w = 0.28;
- h = 0.38;
- x = 0.34;
- y = 0.30;
- class Controls
- {
- class Life_Licenses : unit_RscStructuredText
- {
- idc = 2014;
- sizeEx = 0.020;
- text = "";
- x = 0;
- y = 0;
- w = 0.27; h = 0.65;
- };
- };
- };
- class ButtonGangList : unit_RscButtonMenu {
- idc = 2012;
- text = "$STR_PM_WantedList";
- onButtonClick = "[] call life_fnc_wantedMenu";
- x = 0.1 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH));
- y = 0.8 - (1 / 25);
- w = (6.25 / 40);
- h = (1 / 25);
- };
- class ButtonKeys : unit_RscButtonMenu {
- idc = 2013;
- text = "$STR_PM_KeyChain";
- onButtonClick = "createDialog ""Life_key_management"";";
- x = 0.26 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH));
- y = 0.8 - (1 / 25);
- w = (6.25 / 40);
- h = (1 / 25);
- };
- class ButtonCell : unit_RscButtonMenu {
- idc = 2014;
- text = "$STR_PM_CellPhone";
- onButtonClick = "createDialog ""unit_cell_phone"";";
- x = 0.42 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH));
- y = 0.8 - (1 / 25);
- w = (6.25 / 40);
- h = (1 / 25);
- };
- class ButtonAdminMenu : unit_RscButtonMenu {
- idc = 2021;
- text = "$STR_PM_AdminMenu";
- onButtonClick = "createDialog ""life_admin_menu"";";
- x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
- y = 0.805;
- w = (6.25 / 40);
- h = (1 / 25);
- };
- class ButtonSyncData : unit_RscButtonMenu {
- idc = -1;
- //shortcuts[] = {0x00050000 + 2};
- text = "$STR_PM_SyncData";
- onButtonClick = "[] call SOCK_fnc_syncData;";
- x = 0.1;
- y = 0.805;
- w = (6.25 / 40);
- h = (1 / 25);
- };
- class ButtonStocks : unit_RscButtonMenu {
- idc = 2069;
- text = "$STR_PM_Stocks";
- onButtonClick = "[] call stock_dialog";
- x = 0.1 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH));
- y = 0.805;
- w = (6.25 / 40);
- h = (1 / 25);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement