From d82fcb8bd4a0cdb634a94a5807c13f578906560f Mon Sep 17 00:00:00 2001 From: Skaronator Date: Fri, 8 Nov 2013 22:02:27 +0100 Subject: [PATCH] Add Timezone switch Var Not 100% sure if this is correctlly --- SQF/dayz_code/init/compiles.sqf | 2 +- SQF/dayz_code/init/variables.sqf | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/SQF/dayz_code/init/compiles.sqf b/SQF/dayz_code/init/compiles.sqf index 13a4d44a2..136bc1ce0 100644 --- a/SQF/dayz_code/init/compiles.sqf +++ b/SQF/dayz_code/init/compiles.sqf @@ -360,7 +360,7 @@ if (!isDedicated) then { _objName }; - dayz_originalPlayer = player; + dayz_originalPlayer = player; // trader menu gui by maca134 diff --git a/SQF/dayz_code/init/variables.sqf b/SQF/dayz_code/init/variables.sqf index 8a7149398..027bbb626 100644 --- a/SQF/dayz_code/init/variables.sqf +++ b/SQF/dayz_code/init/variables.sqf @@ -400,6 +400,9 @@ dayz_zSpawnDistance = 1000; if(isNil "dayz_maxAnimals") then { dayz_maxAnimals = 8; }; +if(isNil "timezoneswitch") then { + timezoneswitch = 0; +}; if(isNil "dayz_maxLocalZombies") then { dayz_maxLocalZombies = 15; }; @@ -448,6 +451,9 @@ if(isNil "DZE_BuildingLimit") then { if(isNil "DZE_HumanityTargetDistance") then { DZE_HumanityTargetDistance = 25; }; +if(isNil "DZE_FriendlySaving") then { + DZE_FriendlySaving = true; +}; DZE_REPLACE_WEAPONS = [["Crossbow","ItemMatchbox","ItemHatchet"],["Crossbow_DZ","ItemMatchbox_DZE","ItemHatchet_DZE"]]; @@ -490,13 +496,7 @@ DZE_fueltruckarray = ["KamazRefuel_DZ","UralRefuel_TK_EP1_DZ","MtvrRefuel_DES_EP // Standard Fuel sources dayz_fuelsources = ["Land_Ind_TankSmall","Land_fuel_tank_big","Land_fuel_tank_stairs","Land_fuel_tank_stairs_ep1","Land_wagon_tanker","Land_fuelstation","Land_fuelstation_army","land_fuelstation_w","Land_benzina_schnell"]; - - DZE_Lock_Door = ""; - -if(isNil "DZE_FriendlySaving") then { - DZE_FriendlySaving = true; -}; //init global arrays for Loot Chances call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\loot_init.sqf";