From 3160d47cb19145a454baa28abdb3c1c658b0eca1 Mon Sep 17 00:00:00 2001 From: worldwidesorrow Date: Tue, 14 Jul 2020 15:50:22 -0500 Subject: [PATCH] Update publicEH.sqf Add PVs for cargo drop and new weather system. --- SQF/dayz_code/init/publicEH.sqf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SQF/dayz_code/init/publicEH.sqf b/SQF/dayz_code/init/publicEH.sqf index 4f09d570d..a2c3f1ab3 100644 --- a/SQF/dayz_code/init/publicEH.sqf +++ b/SQF/dayz_code/init/publicEH.sqf @@ -94,6 +94,7 @@ if (isServer) then { "PVDZE_obj_Trade" addPublicVariableEventHandler {(_this select 1) spawn server_tradeObj}; "PVDZE_plr_DeathB" addPublicVariableEventHandler {(_this select 1) spawn server_deaths}; "PVDZE_handleSafeGear" addPublicVariableEventHandler {(_this select 1) call server_handleSafeGear}; + "PVDZE_cargoDrop" addPublicVariableEventHandler {(_this select 1) spawn server_cargoDrop}; if (dayz_groupSystem) then { "PVDZ_Server_UpdateGroup" addPublicVariableEventHandler {(_this select 1) spawn server_updateGroup}; }; @@ -225,4 +226,5 @@ if (!isDedicated) then { call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\client_flies.sqf"; }; "PVDZE_PingReceived" addPublicVariableEventHandler {DZE_LastPingResp = diag_tickTime;}; + "PVDZE_SetWeather" addPublicVariableEventHandler {(_this select 1) call fnc_setWeather;}; };