Jump to content
derpcraft

[Tutorial] Clean Modern Custom ATM Menu

Recommended Posts

So this is my first release.  I have asked the author Matze_Media and Dizi for permission to post and Matze_Media gave tho go ahead.  Anyways here are the original post which is in German.

 

Links to authors

Matze_Media (Graphics) - https://native-network.net/user/789-matze-media/

Dizi (Dialog) - https://native-network.net/user/443-brizi-jaeger/

 

 

You can find the original post here

Note - I have chaged some of the original design and I have changed some of the file locations.  Everthing else is COMPLETELY the same.

 

So I am going to start off with the dialog.  So first of you will want to go to your file in your core called "Dialog" then you want to find a menu called "bank.hpp" in that file you will want to replace EVERYTING with the following.

/ *
Dialog edited by Brizi Jaeger 
Picture MatzeDesign
* /

class Life_atm_management {
 idd = 2700;
 name = "life_atm_menu";
 movingEnable = 0;
 enableSimulation = 1;
 class controlsBackground {
 class Life_RscTitleBackground: Life_RscPicture {
 text = "textures\imenus\Banking English.jpg";
 idc = -1;
 x = 0.276037 * safezoneW + safezoneX;
 y = 0.0409789 * safezoneH + safezoneY;
 w = 0.431928 * safezoneW;
 h = 0.918042 * safezoneH;
 };
 };

 class controls {
 class CashTitle: Life_RscStructuredText {
 idc = 2701;
 text = "";
 x = 0.452013 * safezoneW + safezoneX;
 y = 0.190585 * safezoneH + safezoneY;
 w = 0.151975 * safezoneW;
 h = 0.153007 * safezoneH;
 };

 / * class Title: Life_RscTitle {
 colorBackground [] = {0, 0, 0, 0};
 idc = -1;
 text = "$ STR_ATM_Title";
 x = 0.35;
 y = 0.2;
 w = 0.6;
 h = (1/25);
 }; * / // is not needed if you want to install it yourself have fun ^ ^ 

 class WithdrawButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to withdraw the selected amount!";
 onButtonClick = "[] call life_fnc_bankWithdraw";
 x = 0.38482 * safezoneW + safezoneX;
 y = 0.523801 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground [] = {-1, -1, -1, -1};
 colorBackgroundFocused [] = {1,1,1,0,1};
 colorBackground2 [] = {0.75,0.75,0.75,0.2};
 color [] = {1,1,1,1};
 colorFocused [] = {0,0,0,0};
 color2 [] = {0,0,0,0};
 colorText [] = {1,1,1,1};
 colorDisabled [] = {1,0,0,0,1};
 };

 class DepositButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to deposit the selected amount!";
 onButtonClick = "[] call life_fnc_bankDeposit";
 x = 0.514397 * safezoneW + safezoneX;
 y = 0.523801 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground [] = {-1, -1, -1, -1};
 colorBackgroundFocused [] = {1,1,1,0,1};
 colorBackground2 [] = {0.75,0.75,0.75,0.2};
 color [] = {1,1,1,1};
 colorFocused [] = {0,0,0,0};
 color2 [] = {0,0,0,0};
 colorText [] = {1,1,1,1};
 colorDisabled [] = {1,0,0,0,1};
 };

 class moneyEdit: Life_RscEdit {
 idc = 2702;
 text = "100";
 sizeEx = 0.030;
 x = 0.38162 * safezoneW + safezoneX;
 y = 0.363994 * safezoneH + safezoneY;
 w = 0.220763 * safezoneW;
 h = 0.0612029 * safezoneH;
 };

 class PlayerList: Life_RscCombo {
 idc = 2703;
 x = 0.38002 * safezoneW + safezoneX;
 y = 0.442198 * safezoneH + safezoneY;
 w = 0.223963 * safezoneW;
 h = 0.040802 * safezoneH;
 };

 class TransferButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to transfer your selected amount!";
 onButtonClick = "[] call life_fnc_bankTransfer";
 x = 0.384808 * safezoneW + safezoneX;
 y = 0.591805 * safezoneH + safezoneY;
 w = 0.214383 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground [] = {-1, -1, -1, -1};
 colorBackgroundFocused [] = {1,1,1,0,1};
 colorBackground2 [] = {0.75,0.75,0.75,0.2};
 color [] = {1,1,1,1};
 colorFocused [] = {0,0,0,0};
 color2 [] = {0,0,0,0};
 colorText [] = {1,1,1,1};
 colorDisabled [] = {1,0,0,0,1};
 };

 class GangWithdraw: TransferButton {
 idc = 2705;
 text = "";
 tooltip = "Withdraw the selected amount from the account?";
 onButtonClick = "[] call life_fnc_gangWithdraw";
 x = 0.384818 * safezoneW + safezoneX;
 y = 0.792413 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground [] = {-1, -1, -1, -1};
 colorBackgroundFocused [] = {1,1,1,0,1};
 colorBackground2 [] = {0.75,0.75,0.75,0.2};
  color [] = {1,1,1,1};
 colorFocused [] = {0,0,0,0};
 color2 [] = {0,0,0,0};
 colorText [] = {1,1,1,1};
 colorDisabled [] = {1,0,0,0,1};
 };

 class GangDeposit: TransferButton {
 idc = 2706;
 text = "";
 tooltip = "Deposit the selected amount from the vaults account?";
 onButtonClick = "[] call life_fnc_gangDeposit";
 x = 0.515997 * safezoneW + safezoneX;
 y = 0.792413 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground [] = {-1, -1, -1, -1};
 colorBackgroundFocused [] = {1,1,1,0,1};
 colorBackground2 [] = {0.75,0.75,0.75,0.2};
 color [] = {1,1,1,1};
 colorFocused [] = {0,0,0,0};
 color2 [] = {0,0,0,0};
 colorText [] = {1,1,1,1};
 colorDisabled [] = {1,0,0,0,1};
 };

 / * class CloseButtonKey: Life_RscButtonMenu {
 idc = -1;
 text = "Close";
 onButtonClick = "closeDialog 0;";
 x = 0.276058 * safezoneW + safezoneX;
 y = 0.962393 * safezoneH + safezoneY;
 w = 0.0991833 * safezoneW;
 h = 0.0340011 * safezoneH;
 }; * /
 };
};

Thats now complete and you may now save and close the file.

 

Now the second half.

 

So you will have to make a folder in your textures folder and call it "imenus" and drop this into that file ("this" is a link).

You should be all good to go.

 

 

Now in the original post it warns about something like having your default icons entered or something.  Anyways it says

"If you still have your default icons entered: (fn_atmMenu) remove the icons from the file.  Lets open (core/shop/fn_atmemenu.sqf) where we replace the entire line 23 with this one"

It then gave a code

CONTROL (2700,2701) ctrlSetStructuredText parseText format ["<img size = '1.7' image = '' /> $% 1 <br/> <br/> <img size = '1.6' image = '' /> $% 2 ", [BANK] call life_fnc_numberText, [CASH] call life_fnc_numberText];

 

Anyways thank you and I give a big thanks to the creators for letting me do this.

Anyways if you guys have an idea on how to change my name on the forum DM me.  Thx

Banking English.jpg

PLEASE DO NOT MAKE CHANGES TO ANY OF THE FOLLOWING WITHOUT THE CONSENT OF THE AUTHORS (MATZE MEDIA & DIZI)

Edited by derpcraft

Share this post


Link to post
Share on other sites
14 minutes ago, SniperCatZ said:

Getting this error when i try to join the server after installing this.

dce0a7cee65cb79b6a67b8ecc7c468c5.png

Ok.  I have changed the bank.hpp and it should now work.  Noone is getting this error on the original forum post.

Share this post


Link to post
Share on other sites

Ok so i managed to get it to work by using the code from the original post and then by adding your translations to it. The reason yours did not work is because when you translated it "with google translate i am guessing", It added some spaces to the things that was supposed to be commented out. But anyways here is what i have working now 

Spoiler

/*
Dialog edited by Brizi Jaeger 
Picture MatzeDesign
*/
class Life_atm_management {
 idd = 2700;
 name= "life_atm_menu";
 movingEnable = 0;
 enableSimulation = 1;
 class controlsBackground {
 class Life_RscTitleBackground: Life_RscPicture {
 text = "textures\imenus\Banking English.jpg";
  idc = -1;
 x = 0.276037 * safezoneW + safezoneX;
 y = 0.0409789 * safezoneH + safezoneY;
 w = 0.431928 * safezoneW;
 h = 0.918042 * safezoneH;
 };
 };
 class controls {
 class CashTitle: Life_RscStructuredText {
 idc = 2701;
 text = "";
 x = 0.452013 * safezoneW + safezoneX;
 y = 0.190585 * safezoneH + safezoneY;
 w = 0.151975 * safezoneW;
 h = 0.153007 * safezoneH;
 };
 /*class Title: Life_RscTitle {
 colorBackground[] = {0, 0, 0, 0};
 idc = -1;
 text = "$STR_ATM_Title";
 x = 0.35;
 y = 0.2;
 w = 0.6;
 h = (1 / 25);
 };*/ // is not needed if you want to install it yourself have fun ^^
 class WithdrawButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to withdraw the selected amount!";
 onButtonClick = "[] call life_fnc_bankWithdraw";
 x = 0.38482 * safezoneW + safezoneX;
 y = 0.523801 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 class DepositButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to deposit the selected amount!";
 onButtonClick = "[] call life_fnc_bankDeposit";
 x = 0.514397 * safezoneW + safezoneX;
 y = 0.523801 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 class moneyEdit: Life_RscEdit {
 idc = 2702;
 text = "0";
 sizeEx = 0.030;
 x = 0.38162 * safezoneW + safezoneX;
 y = 0.363994 * safezoneH + safezoneY;
 w = 0.220763 * safezoneW;
 h = 0.0612029 * safezoneH;
 };
 class PlayerList: Life_RscCombo {
 idc = 2703;
 x = 0.38002 * safezoneW + safezoneX;
 y = 0.442198 * safezoneH + safezoneY;
 w = 0.223963 * safezoneW;
 h = 0.040802 * safezoneH;
 };
 class TransferButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to transfer your selected amount!";
 onButtonClick = "[] call life_fnc_bankTransfer";
 x = 0.384808 * safezoneW + safezoneX;
 y = 0.591805 * safezoneH + safezoneY;
 w = 0.214383 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 class GangWithdraw : TransferButton {
 idc = 2705;
 text = "";
 tooltip = "Withdraw the selected amount from the account?";
 onButtonClick = "[] call life_fnc_gangWithdraw";
 x = 0.384818 * safezoneW + safezoneX;
 y = 0.792413 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 class GangDeposit : TransferButton {
 idc = 2706;
 text = "";
 tooltip = "Deposit the selected amount from the vaults account?";
 onButtonClick = "[] call life_fnc_gangDeposit";
 x = 0.515997 * safezoneW + safezoneX;
 y = 0.792413 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 /*class CloseButtonKey: Life_RscButtonMenu {
 idc = -1;
 text = "Schliessen";
 onButtonClick = "closeDialog 0;";
 x = 0.276058 * safezoneW + safezoneX;
 y = 0.962393 * safezoneH + safezoneY;
 w = 0.0991833 * safezoneW;
 h = 0.0340011 * safezoneH;
 };*/
 };
};

But i was wondering how i can change the location of the money and bank amounts and change the size of the dep/withdraw ammount? Because this looks kind of odd: 395823f0892e75ba9635f255c40dccad.png

Anyways thank you.

Share this post


Link to post
Share on other sites
1 hour ago, SniperCatZ said:

Ok so i managed to get it to work by using the code from the original post and then by adding your translations to it. The reason yours did not work is because when you translated it "with google translate i am guessing", It added some spaces to the things that was supposed to be commented out. But anyways here is what i have working now 

  Reveal hidden contents

/*
Dialog edited by Brizi Jaeger 
Picture MatzeDesign
*/
class Life_atm_management {
 idd = 2700;
 name= "life_atm_menu";
 movingEnable = 0;
 enableSimulation = 1;
 class controlsBackground {
 class Life_RscTitleBackground: Life_RscPicture {
 text = "textures\imenus\Banking English.jpg";
  idc = -1;
 x = 0.276037 * safezoneW + safezoneX;
 y = 0.0409789 * safezoneH + safezoneY;
 w = 0.431928 * safezoneW;
 h = 0.918042 * safezoneH;
 };
 };
 class controls {
 class CashTitle: Life_RscStructuredText {
 idc = 2701;
 text = "";
 x = 0.452013 * safezoneW + safezoneX;
 y = 0.190585 * safezoneH + safezoneY;
 w = 0.151975 * safezoneW;
 h = 0.153007 * safezoneH;
 };
 /*class Title: Life_RscTitle {
 colorBackground[] = {0, 0, 0, 0};
 idc = -1;
 text = "$STR_ATM_Title";
 x = 0.35;
 y = 0.2;
 w = 0.6;
 h = (1 / 25);
 };*/ // is not needed if you want to install it yourself have fun ^^
 class WithdrawButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to withdraw the selected amount!";
 onButtonClick = "[] call life_fnc_bankWithdraw";
 x = 0.38482 * safezoneW + safezoneX;
 y = 0.523801 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 class DepositButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to deposit the selected amount!";
 onButtonClick = "[] call life_fnc_bankDeposit";
 x = 0.514397 * safezoneW + safezoneX;
 y = 0.523801 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 class moneyEdit: Life_RscEdit {
 idc = 2702;
 text = "0";
 sizeEx = 0.030;
 x = 0.38162 * safezoneW + safezoneX;
 y = 0.363994 * safezoneH + safezoneY;
 w = 0.220763 * safezoneW;
 h = 0.0612029 * safezoneH;
 };
 class PlayerList: Life_RscCombo {
 idc = 2703;
 x = 0.38002 * safezoneW + safezoneX;
 y = 0.442198 * safezoneH + safezoneY;
 w = 0.223963 * safezoneW;
 h = 0.040802 * safezoneH;
 };
 class TransferButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to transfer your selected amount!";
 onButtonClick = "[] call life_fnc_bankTransfer";
 x = 0.384808 * safezoneW + safezoneX;
 y = 0.591805 * safezoneH + safezoneY;
 w = 0.214383 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 class GangWithdraw : TransferButton {
 idc = 2705;
 text = "";
 tooltip = "Withdraw the selected amount from the account?";
 onButtonClick = "[] call life_fnc_gangWithdraw";
 x = 0.384818 * safezoneW + safezoneX;
 y = 0.792413 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 class GangDeposit : TransferButton {
 idc = 2706;
 text = "";
 tooltip = "Deposit the selected amount from the vaults account?";
 onButtonClick = "[] call life_fnc_gangDeposit";
 x = 0.515997 * safezoneW + safezoneX;
 y = 0.792413 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1,-1,-1,-1};
 colorBackgroundFocused[] = {1,1,1,0.12};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0.1};
 };
 /*class CloseButtonKey: Life_RscButtonMenu {
 idc = -1;
 text = "Schliessen";
 onButtonClick = "closeDialog 0;";
 x = 0.276058 * safezoneW + safezoneX;
 y = 0.962393 * safezoneH + safezoneY;
 w = 0.0991833 * safezoneW;
 h = 0.0340011 * safezoneH;
 };*/
 };
};

But i was wondering how i can change the location of the money and bank amounts and change the size of the dep/withdraw ammount? Because this looks kind of odd: 395823f0892e75ba9635f255c40dccad.png

Anyways thank you.

Ok I will update.  I suggest moving the bank picture up and the cash up.  Or you can go into the dialog and move the money down.  You may have to use a GUI editor tho.

Share this post


Link to post
Share on other sites
Just now, derpcraft said:

Ok I will update.  I suggest moving the bank picture up and the cash up.  Or you can go into the dialog and move the money down.  You may have to use a GUI editor tho.

What is the money display one called in the bank.hpp file?

Share this post


Link to post
Share on other sites
9 minutes ago, SniperCatZ said:

What is the money display one called in the bank.hpp file?

So the box where you put in your money is this

https://imgur.com/a/44kYE

I believe that the Money amounts are 

https://imgur.com/a/tJdix

Also i would actually ask Matze Media before changing it I dont know how he would feel to have his stuff taken out.

Edited by derpcraft

Share this post


Link to post
Share on other sites

I am just testing stuff atm. The server is just a WIP atm so i just spawned in a bunch of money so i have enough when i am testing stuff.

  • Like 1

Share this post


Link to post
Share on other sites
55 minutes ago, SniperCatZ said:

I am just testing stuff atm. The server is just a WIP atm so i just spawned in a bunch of money so i have enough when i am testing stuff.

Ok.  Its cool.  u ask him if you were able to modify the ATM?

Edited by derpcraft

Share this post


Link to post
Share on other sites
51 minutes ago, Matthias Burns | Matze said:

Brizi, not DIZI

DAFUQ MATE.

Do you even have the permission of Matze Media?

matze_media would be his ALRPG Account.

matze use your eyes.

Ujtu8X5.png

 

  • Like 4

Share this post


Link to post
Share on other sites

Fixed code: 

//Dialog edited by Brizi Jaeger, Picture MatzeDesign

class Life_atm_management {
 idd = 2700;
 name = "life_atm_menu";
 movingEnable = 0;
 enableSimulation = 1;
 class controlsBackground {
 class Life_RscTitleBackground: Life_RscPicture {
 text = "textures\imenus\Banking English.jpg";
 idc = -1;
 x = 0.276037 * safezoneW + safezoneX;
 y = 0.0409789 * safezoneH + safezoneY;
 w = 0.431928 * safezoneW;
 h = 0.918042 * safezoneH;
 };
 };

 class controls {
 class CashTitle: Life_RscStructuredText {
 idc = 2701;
 text = "";
 x = 0.452013 * safezoneW + safezoneX;
 y = 0.190585 * safezoneH + safezoneY;
 w = 0.151975 * safezoneW;
 h = 0.153007 * safezoneH;
 };

/*class Title: Life_RscTitle {
 colorBackground[] = {0, 0, 0, 0};
 idc = -1;
 text = "$ STR_ATM_Title";
 x = 0.35;
 y = 0.2;
 w = 0.6;
 h = (1/25);
 }; */

 class WithdrawButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to withdraw the selected amount!";
 onButtonClick = "[] call life_fnc_bankWithdraw";
 x = 0.38482 * safezoneW + safezoneX;
 y = 0.523801 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1, -1, -1, -1};
 colorBackgroundFocused[] = {1,1,1,0,1};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0,1};
 };

 class DepositButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to deposit the selected amount!";
 onButtonClick = "[] call life_fnc_bankDeposit";
 x = 0.514397 * safezoneW + safezoneX;
 y = 0.523801 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1, -1, -1, -1};
 colorBackgroundFocused[] = {1,1,1,0,1};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0,1};
 };

 class moneyEdit: Life_RscEdit {
 idc = 2702;
 text = "100";
 sizeEx = 0.030;
 x = 0.38162 * safezoneW + safezoneX;
 y = 0.363994 * safezoneH + safezoneY;
 w = 0.220763 * safezoneW;
 h = 0.0612029 * safezoneH;
 };

 class PlayerList: Life_RscCombo {
 idc = 2703;
 x = 0.38002 * safezoneW + safezoneX;
 y = 0.442198 * safezoneH + safezoneY;
 w = 0.223963 * safezoneW;
 h = 0.040802 * safezoneH;
 };

 class TransferButton: Life_RscButtonMenu {
 idc = -1;
 text = "";
 tooltip = "Click here to transfer your selected amount!";
 onButtonClick = "[] call life_fnc_bankTransfer";
 x = 0.384808 * safezoneW + safezoneX;
 y = 0.591805 * safezoneH + safezoneY;
 w = 0.214383 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1, -1, -1, -1};
 colorBackgroundFocused[] = {1,1,1,0,1};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0,1};
 };

 class GangWithdraw: TransferButton {
 idc = 2705;
 text = "";
 tooltip = "Withdraw the selected amount from the account?";
 onButtonClick = "[] call life_fnc_gangWithdraw";
 x = 0.384818 * safezoneW + safezoneX;
 y = 0.792413 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1, -1, -1, -1};
 colorBackgroundFocused[] = {1,1,1,0,1};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
  color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0,1};
 };

 class GangDeposit: TransferButton {
 idc = 2706;
 text = "";
 tooltip = "Deposit the selected amount from the vaults account?";
 onButtonClick = "[] call life_fnc_gangDeposit";
 x = 0.515997 * safezoneW + safezoneX;
 y = 0.792413 * safezoneH + safezoneY;
 w = 0.0847862 * safezoneW;
 h = 0.0476019 * safezoneH;
 colorBackground[] = {-1, -1, -1, -1};
 colorBackgroundFocused[] = {1,1,1,0,1};
 colorBackground2[] = {0.75,0.75,0.75,0.2};
 color[] = {1,1,1,1};
 colorFocused[] = {0,0,0,0};
 color2[] = {0,0,0,0};
 colorText[] = {1,1,1,1};
 colorDisabled[] = {1,0,0,0,1};
 };

 /*
 class CloseButtonKey: Life_RscButtonMenu {
 idc = -1;
 text = "Close";
 onButtonClick = "closeDialog 0;";
 x = 0.276058 * safezoneW + safezoneX;
 y = 0.962393 * safezoneH + safezoneY;
 w = 0.0991833 * safezoneW;
 h = 0.0340011 * safezoneH;
 };*/
 };
};

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×