mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 01:30:26 +03:00
Initialize CurrencyName in configVariables.sqf
https://github.com/EpochModTeam/DayZ-Epoch/issues/1712#issuecomment-242927452
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
// Moved to dayz_code/configVariables.sqf
|
||||
/*
|
||||
Z_AT_FolderLocation = '\z\addons\dayz_code\actions\AdvancedTrading';
|
||||
Z_VehicleDistance = 30; // Distance that a vehicle needs to be to see it's content or to sell it.
|
||||
Z_SingleCurrency = false; // Does your server use a single currency system.
|
||||
Z_AllowTakingMoneyFromBackpack = true; // When buying items with DEFAULT CURRENCY to any inventory. Do you allow the trader to take money from your backpack.
|
||||
Z_AllowTakingMoneyFromVehicle = true; // When buying items with DEFAULT CURRENCY to any inventory. Do you allow the trader to take money from your vehicle.
|
||||
Z_MoneyVariable = "cashMoney"; // If using a Single currency system, change this to whatever currency you are using.
|
||||
*/
|
||||
@@ -44,13 +44,6 @@ if (isNil "Z_AdvancedTradingInit") then {
|
||||
Z_BuyableArray = [];
|
||||
Z_BuyingArray = [];
|
||||
|
||||
if (isNil 'CurrencyName' && Z_SingleCurrency) then {
|
||||
CurrencyName = 'Coins'; // fallback
|
||||
};
|
||||
if (!Z_SingleCurrency) then {
|
||||
CurrencyName = '';
|
||||
};
|
||||
|
||||
/* end script config */
|
||||
|
||||
ZUPA_fnc_removeWeaponsAndMagazinesCargo = compile preprocessFileLineNumbers (Z_AT_FolderLocation + "\functions\zupa_fnc_removeWeaponsAndMagazinesCargo.sqf");
|
||||
|
||||
Reference in New Issue
Block a user