Disturbed2015 Posted July 26, 2015 Report Share Posted July 26, 2015 I'm using Currency/Banking 4.0, and I noticed in my IMG folder I have a "Bank" and "Coins", well of course the coins show up. How do I show the bank under the coins? I noticed in RCSTitles class RscTitles { //Single Currency class ZSC_Money_Display { idd = -1; fadeout=0; fadein=0; duration = 20; name= "ZSC_Money_Display"; onLoad = "uiNamespace setVariable ['ZSC_Money_Display', _this select 0]"; class controlsBackground { class ZSC_Status { idc = 4900; type = 13; size = 0.040; x = safezoneX + (safezoneW -0.35); y = safezoneY + 0.40 * safezoneW; w = 0.35; h = 0.20; colorText[] = {1,1,1,1}; lineSpacing = 3; colorBackground[] = {0,0,0,0}; text = ""; style = 0x02; shadow = 2; font = "Zeppelin32"; sizeEx = 0.023; class Attributes { align = "right"; }; }; }; }; That would be the coins correct? If so how would I go about showing the bank? Link to comment Share on other sites More sharing options...
xviolence Posted August 5, 2015 Report Share Posted August 5, 2015 Also had the same question but i figured it out myself. Open your playerHud.sqf Change this: disableSerialization; while {true} do { 1000 cutRsc ["ZSC_Money_Display","PLAIN"]; _wpui = uiNameSpace getVariable "ZSC_Money_Display"; // Thx to ASREMIX _vitals = _wpui displayCtrl 4900; Money = player getVariable["cashMoney",0]; _vitals ctrlSetStructuredText parseText format [" <t size='0.9'> %1 </t><img size='0.9' align='right' image='Img\Gui\Money.paa'/>", [Money] call BIS_fnc_numberText]; _vitals ctrlCommit 0; sleep 1.5; }; to this: disableSerialization; while {true} do { 1000 cutRsc ["ZSC_Money_Display","PLAIN"]; _wpui = uiNameSpace getVariable "ZSC_Money_Display"; // Thx to ASREMIX _vitals = _wpui displayCtrl 4900; Money = player getVariable["cashMoney",0]; Bank_Balance = player getVariable["bankMoney",0]; _vitals ctrlSetStructuredText parseText format [" <t size='0.9'> %1 </t><img size='0.9' align='right' image='Img\Gui\Money.paa'/><br/> <t size='0.9'> %2 </t><img size='0.9' align='right' image='Img\Gui\Bank.paa'/><br/>", [Money] call BIS_fnc_numberText, [bank_Balance] call BIS_fnc_numberText ]; _vitals ctrlCommit 0; sleep 1.5; }; I hope it helped. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now