Skip to content

Commit

Permalink
Update ZSCinit.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
Windmolders committed Dec 16, 2014
1 parent 65a9fbd commit c56d5a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions DayZ_Epoch_11.Chernarus/ZSC/gold/ZSCinit.sqf
Expand Up @@ -48,8 +48,8 @@ BankDialogUpdateAmounts = {
_displayName = getText (configFile >> "CfgVehicles" >> _vehicleType >> "displayName");
_sizeOfMoney = _vehicleMagazines * ZSC_MaxMoneyInStorageMultiplier;
ctrlSetText [2701, format["%1", _displayName]];
ctrlSetText [BankDialogPlayerBalance, format["%1 %2", (player getVariable ['cashMoney', 0] call BIS_fnc_numberText), CurrencyName]];
ctrlSetText [BankDialogBankBalance, format["%1 / %3 %2", (ZSC_CurrentStorage getVariable ['bankMoney', 0] call BIS_fnc_numberText), CurrencyName, _sizeOfMoney]];
ctrlSetText [BankDialogPlayerBalance, format["%1 %2", [player getVariable ['cashMoney', 0]] call BIS_fnc_numberText, CurrencyName]];
ctrlSetText [BankDialogBankBalance, format["%1 / %3 %2", [ZSC_CurrentStorage getVariable ['bankMoney', 0]] call BIS_fnc_numberText, CurrencyName, _sizeOfMoney]];
}else{
ctrlSetText [BankDialogPlayerBalance, format["Can not get vehicle capacity!","test"]];
ctrlSetText [BankDialogBankBalance, format["Can not get vehicle capacity!","test"]];
Expand All @@ -58,7 +58,7 @@ BankDialogUpdateAmounts = {
};

GivePlayerDialogAmounts = {
ctrlSetText [GivePlayerDialogPlayerBalance, format["%1 %2", (player getVariable ['cashMoney', 0] call BIS_fnc_numberText), CurrencyName]];
ctrlSetText [GivePlayerDialogPlayerBalance, format["%1 %2", [player getVariable ['cashMoney', 0]] call BIS_fnc_numberText, CurrencyName]];
ctrlSetText [14003, format["%1", (name ZSC_GiveMoneyTarget)]];
};

Expand Down Expand Up @@ -148,4 +148,4 @@ GivePlayerAmount = {
publicVariableServer "PVDZE_plr_Save";

cutText [format["You gave %1 %2.", _amount, CurrencyName], "PLAIN DOWN"];
};
};

0 comments on commit c56d5a1

Please sign in to comment.