Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "player_sys.sqf"
- /*
- Fichier: player_inv.hpp
- Auteur: Armacos
- Description:
- Menu "Y"
- */
- class playerSettings {
- idd = playersys_DIALOG;
- movingEnable = true;
- enableSimulation = true;
- class controlsBackground {
- class fondtablet: Life_RscPicture {
- idc = 9090909;
- text = "textures\tel\menuY_byArmacos.paa";
- x = 0;
- y = -0.12;
- w = 1;
- h = 1.28;
- };
- class life_RscTitleBackground:life_RscText {
- };
- class MainBackground:life_RscText {
- };
- class Title : life_RscTitle {
- };
- class moneyStatusInfo : Life_RscStructuredText //a modifier
- {
- idc = 2015;
- sizeEx = 0.020;
- text = "";
- x = 0.225;
- y = 0.36;
- w = 0.32;
- h = 0.16;
- };
- class PlayersName : Title {
- idc = carry_weight;
- style = 1;
- text = "";
- };
- };
- class controls {
- class itemList : life_RscListBox
- {
- idc = item_list;
- colorBackground[] = {0,0,0,0};
- sizeEx = 0.030;
- x = 0.599975;
- y = 0.34;
- w = 0.224944;
- h = 0.218182;
- };
- class moneyEdit : Life_RscEdit
- {
- idc = 2018;
- text = "1";
- sizeEx = 0.030;
- x = 0.250063;
- y = 0.464;
- w = 0.124969;
- h = 0.03;
- };
- class NearPlayers : Life_RscCombo
- {
- idc = 2022;
- x = 0.250063;
- y = 0.5;
- w = 0.124969;
- h = 0.03;
- };
- class Life_RscButtonInvisible1 : Life_RscButtonMenu { //donner argent
- animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureOver = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
- animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
- colorBackground[] = {0, 0, 0, 0};
- colorBackground2[] = {1, 1, 1, 0};
- color[] = {1, 1, 1, 0};
- color2[] = {1, 1, 1, 0};
- colorText[] = {1, 1, 1, 0};
- colorDisabled[] = {1, 1, 1, 0};
- idc = 2001;
- text = "";
- onButtonClick = "[] call life_fnc_giveMoney;";
- x = 0.387529;
- y = 0.5;
- w = 0.07998;
- h = 0.028;
- };
- class itemEdit : Life_RscEdit { //
- idc = item_edit;
- text = "1";
- sizeEx = 0.030;
- x = 0.612471;
- y = 0.56;
- w = 0.212447;
- h = 0.03;
- };
- class iNearPlayers : Life_RscCombo
- {
- idc = 2023;
- x = 0.612471;
- y = 0.6;
- w = 0.131217;
- h = 0.03;
- };
- /*
- Disabled till it can be redone
- class moneyInput: life_RscCombo {
- idc = money_value;
- x = 0.02; y = 0.402;
- w = .1; h = .030;
- };
- */
- class Life_RscButtonInvisible2 : Life_RscButtonMenu { //doner item
- animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureOver = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
- animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
- colorBackground[] = {0, 0, 0, 0};
- colorBackground2[] = {1, 1, 1, 0};
- color[] = {1, 1, 1, 0};
- color2[] = {1, 1, 1, 0};
- colorText[] = {1, 1, 1, 0};
- colorDisabled[] = {1, 1, 1, 0};
- idc = 2002;
- text = "";
- onButtonClick = "[] call life_fnc_giveItem;";
- x = 0.749937;
- y = 0.6;
- w = 0.0949762;
- h = 0.032;
- };
- class Life_RscButtonInvisible3 : Life_RscButtonMenu { //utiliser item
- animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureOver = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
- animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
- colorBackground[] = {0, 0, 0, 0};
- colorBackground2[] = {1, 1, 1, 0};
- color[] = {1, 1, 1, 0};
- color2[] = {1, 1, 1, 0};
- colorText[] = {1, 1, 1, 0};
- colorDisabled[] = {1, 1, 1, 0};
- idc = -1;
- text = "";
- onButtonClick = "[] call life_fnc_useItem;";
- x = 0.724943;
- y = 0.65;
- w = 0.11872;
- h = 0.028;
- };
- class Life_RscButtonInvisible5 : Life_RscButtonMenu { //suprimer item
- animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureOver = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
- animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
- colorBackground[] = {0, 0, 0, 0};
- colorBackground2[] = {1, 1, 1, 0};
- color[] = {1, 1, 1, 0};
- color2[] = {1, 1, 1, 0};
- colorText[] = {1, 1, 1, 0};
- colorDisabled[] = {1, 1, 1, 0};
- idc = -1;
- text = "";
- onButtonClick = "[] call life_fnc_removeItem;";
- x = 0.612471;
- y = 0.65;
- w = 0.102474;
- h = 0.028;
- };
- /*
- Disabled till it can be redone
- class DropcButton : life_RscButtonMenu {
- text = "Drop Money";
- onButtonClick = "[] execVM 'player_system\money_fnc.sqf'";
- x = 0.13; y = 0.4;
- w = 0.135; h = 0.05;
- };
- */
- class Life_RscButtonInvisible6 : Life_RscButtonMenu {
- animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureOver = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
- animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
- colorBackground[] = {0, 0, 0, 0};
- colorBackground2[] = {1, 1, 1, 0};
- color[] = {1, 1, 1, 0};
- color2[] = {1, 1, 1, 0};
- colorText[] = {1, 1, 1, 0};
- colorDisabled[] = {1, 1, 1, 0};
- idc = -1;
- //shortcuts[] = {0x00050000 + 2};
- onButtonClick = "closeDialog 0;";
- x = 0.1;
- y = 0.8 - (1 / 25);
- w = (6.25 / 40);
- h = (1 / 25);
- };
- class Life_RscButtonInvisible7 : Life_RscButtonMenu { //setings
- animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureOver = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
- animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
- colorBackground[] = {0, 0, 0, 0};
- colorBackground2[] = {1, 1, 1, 0};
- color[] = {1, 1, 1, 0};
- color2[] = {1, 1, 1, 0};
- colorText[] = {1, 1, 1, 0};
- colorDisabled[] = {1, 1, 1, 0};
- idc = -1;
- onButtonClick = "[] call life_fnc_settingsMenu;";
- x = 0.325;
- y = 0.16;
- w = 0.0625;
- h = 0.08;
- };
- class Life_RscButtonInvisible8 : Life_RscButtonMenu { //gang
- animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureOver = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
- animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
- colorBackground[] = {0, 0, 0, 7};
- colorBackground2[] = {1, 1, 1, 0};
- color[] = {1, 1, 1, 0};
- color2[] = {1, 1, 1, 0};
- colorText[] = {1, 1, 1, 0};
- colorDisabled[] = {1, 1, 1, 0};
- idc = 2011;
- 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.525;
- y = 0.16;
- w = 0.0625;
- h = 0.08;
- };
- class Licenses_Menu : Life_RscControlsGroup //a modifier
- {
- idc = -1;
- x = 0.3;
- y = 0.6;
- w = 0.2325;
- h = 0.288;
- class Controls
- {
- class Life_Licenses : Life_RscStructuredText
- {
- idc = 2014;
- sizeEx = 0.020;
- text = "";
- x = 0;
- y = 0;
- w = 0.27; h = 0.65;
- };
- };
- };
- class Life_RscButtonInvisible9 : Life_RscButtonMenu { //interpole
- animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureOver = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
- animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
- colorBackground[] = {0, 0, 0, 0};
- colorBackground2[] = {1, 1, 1, 0};
- color[] = {1, 1, 1, 0};
- color2[] = {1, 1, 1, 0};
- colorText[] = {1, 1, 1, 0};
- colorDisabled[] = {1, 1, 1, 0};
- idc = 2012;
- onButtonClick = "[] call life_fnc_wantedMenu";
- x = 0.7125;
- y = 0.16;
- w = 0.0625;
- h = 0.08;
- };
- class Life_RscButtonInvisible10 : Life_RscButtonMenu { //menu clés
- animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureOver = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
- animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
- colorBackground[] = {0, 0, 0, 0};
- colorBackground2[] = {1, 1, 1, 0};
- color[] = {1, 1, 1, 0};
- color2[] = {1, 1, 1, 0};
- colorText[] = {1, 1, 1, 0};
- colorDisabled[] = {1, 1, 1, 0};
- idc = 2013;
- onButtonClick = "createDialog ""Life_key_management"";";
- x = 0.8;
- y = 0.16;
- w = 0.0625;
- h = 0.08;
- };
- class Life_RscButtonInvisible11 : Life_RscButtonMenu { //Téléphone
- animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureOver = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
- animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
- colorBackground[] = {0, 0, 0, 0};
- colorBackground2[] = {1, 1, 1, 0};
- color[] = {1, 1, 1, 0};
- color2[] = {1, 1, 1, 0};
- colorText[] = {1, 1, 1, 0};
- colorDisabled[] = {1, 1, 1, 0};
- idc = 2014;
- onButtonClick = "createDialog ""Life_cell_phone"";";
- x = 0.425;
- y = 0.16;
- w = 0.0625;
- h = 0.08;
- };
- class adminmenu : Life_RscButtonMenu {
- idc = 2021;
- text = "Admin";
- onButtonClick = "createDialog ""life_admin_menu"";";
- x = 0.724943;
- y = 0.76;
- w = 0.0674832;
- h = 0.1;
- };
- class Life_RscButtonInvisible13 : Life_RscButtonMenu { //sauvegarder
- animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureOver = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
- animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
- colorBackground[] = {0, 0, 0, 0};
- colorBackground2[] = {1, 1, 1, 0};
- color[] = {1, 1, 1, 0};
- color2[] = {1, 1, 1, 0};
- colorText[] = {1, 1, 1, 0};
- colorDisabled[] = {1, 1, 1, 0};
- idc = -1;
- //shortcuts[] = {0x00050000 + 2};
- onButtonClick = "[] call SOCK_fnc_syncData;";
- x = 0.6125;
- y = 0.16;
- w = 0.0625;
- h = 0.08;
- };
- class Life_RscButtonInvisible14 : Life_RscButtonMenu {
- animTextureNormal = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDisabled = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureOver = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureFocused = "#(argb,8,8,3)color(1,1,1,0)";
- animTexturePressed = "#(argb,8,8,3)color(1,1,1,0)";
- animTextureDefault = "#(argb,8,8,3)color(1,1,1,0)";
- colorBackground[] = {0, 0, 0, 0};
- colorBackground2[] = {1, 1, 1, 0};
- color[] = {1, 1, 1, 0};
- color2[] = {1, 1, 1, 0};
- colorText[] = {1, 1, 1, 0};
- colorDisabled[] = {1, 1, 1, 0};
- idc = -1;
- onButtonClick = "createDialog ""life_dynmarket_prices"";";
- x = 0.225;
- y = 0.16;
- w = 0.0625;
- h = 0.08;
- };
- };
- class Life_RscButtonInvisible15 : Life_RscButtonMenu {
- idc = -1;
- text = "Refresh";
- onButtonClick = "[] spawn life_fnc_playerSkins; closeDialog 0;"
- x = 0.1;
- y = 0.70;
- w = (6.25 / 40);
- h = (1 / 25);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement