Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Fichier: gang.hpp
- Auteur: Armacos
- Description:
- Menu “gang”
- */
- class Life_My_Gang_Diag {
- idd = 2620;
- name= “life_my_gang_menu”;
- movingEnable = 0;
- enableSimulation = 1;
- onLoad = “”;
- class controlsBackground {
- class fondtablet: Life_RscPicture {
- idc = 9090909;
- text = “textures\tel\menu-gang.paa”;
- x = 0;
- y = -0.12;
- w = 1;
- h = 1.28;
- };
- class Life_RscTitleBackground:Life_RscText {
- };
- class MainBackground:Life_RscText {
- };
- };
- class controls {
- class Title : Life_RscTitle {
- colorBackground[] = {0, 0, 0, 0};
- idc = 2629;
- text = “”;
- x = 0.1375;
- y = 0.34;
- w = 0.4;
- h = 0.04;
- };
- class GangMemberList : Life_RscListBox
- {
- idc = 2621;
- text = “”;
- sizeEx = 0.035;
- x = 0.162584;
- y = 0.4;
- w = 0.349912;
- h = 0.44;
- };
- class Life_RscButtonInvisible18 : 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;
- text = “$STR_Global_Close”;
- onButtonClick = “closeDialog 0;[] call life_fnc_p_updateMenu”;
- x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
- y = 0.8 - (1 / 25);
- w = (6.25 / 40);
- h = (1 / 25);
- };
- class Life_RscButtonInvisible19 : 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;
- text = “”;
- onButtonClick = “[] call life_fnc_gangLeave”;
- x = 0.5375;
- y = 0.424;
- w = 0.1625;
- h = 0.04;
- };
- class Life_RscButtonInvisible20 : 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 = 2622;
- text = “”;
- onButtonClick = “[] spawn life_fnc_gangUpgrade”;
- x = 0.5375;
- y = 0.5;
- w = 0.1625;
- h = 0.04;
- };
- class Life_RscButtonInvisible21 : 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 = 2624;
- text = “”;
- onButtonClick = “[] call life_fnc_gangKick”;
- x = 0.55;
- y = 0.588;
- w = 0.155;
- h = 0.048;
- };
- class Life_RscButtonInvisible27 : 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 = 2625;
- text = “”;
- onButtonClick = “[] spawn life_fnc_gangNewLeader”;
- x = 0.55;
- y = 0.68;
- w = 0.155;
- h = 0.048;
- };
- class Life_RscButtonInvisible26 : 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 = 2630;
- text = “”;
- onButtonClick = “[] spawn life_fnc_gangInvitePlayer”;
- x = 0.715;
- y = 0.54;
- w = 0.18;
- h = 0.048;
- };
- class Life_RscButtonInvisible25 : 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 = 2631;
- text = “”;
- onButtonClick = “[] spawn life_fnc_gangDisband”;
- x = 0.55;
- y = 0.76;
- w = 0.155;
- h = 0.048;
- };
- class ColorList : Life_RscCombo
- {
- idc = 2632;
- x = 0.724943;
- y = 0.62;
- w = 0.174956;
- h = 0.034;
- };
- class GangBank : Title {
- idc = 601;
- style = 1;
- text = “”;
- };
- };
- };
- class Life_Create_Gang_Diag {
- idd = 2520;
- name= “life_my_gang_menu_create”;
- movingEnable = 0;
- enableSimulation = 1;
- onLoad = “[] spawn {waitUntil {!isNull (findDisplay 2520)}; ((findDisplay 2520) displayCtrl 2523) ctrlSetText format[localize ““STR_Gang_PriceTxt””,[(getNumber(missionConfigFile >> ‘Life_Settings’ >> ‘gang_price’))] call life_fnc_numberText]};”;
- class controlsBackground {
- class fondtablet: Life_RscPicture {
- idc = 9090909;
- text = “textures\tel\creer-gang.paa”;
- x = 0;
- y = -0.12;
- w = 1;
- h = 1.28;
- };
- class Life_RscTitleBackground:Life_RscText {
- };
- class MainBackground:Life_RscText {
- };
- };
- class controls {
- class CloseLoadMenu : Life_RscButtonMenu {
- };
- class Life_RscButtonInvisible30 : 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 = “[] call life_fnc_createGang”;
- x = 0.575;
- y = 0.592;
- w = 0.1;
- h = 0.04;
- };
- class CreateGangText : Life_RscEdit
- {
- idc = 2522;
- text = “$STR_Gang_YGN”;
- x = 0.512496;
- y = 0.52;
- w = 0.224944;
- h = 0.04;
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement