From 7fe7f3fcd87f003f89c02323ed938a68321cbf92 Mon Sep 17 00:00:00 2001 From: worldwidesorrow Date: Tue, 14 Jul 2020 15:53:48 -0500 Subject: [PATCH] Add files via upload Client side cargo drop function. --- SQF/dayz_code/actions/veh_cargoDrop.sqf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 SQF/dayz_code/actions/veh_cargoDrop.sqf diff --git a/SQF/dayz_code/actions/veh_cargoDrop.sqf b/SQF/dayz_code/actions/veh_cargoDrop.sqf new file mode 100644 index 000000000..4b1ea036f --- /dev/null +++ b/SQF/dayz_code/actions/veh_cargoDrop.sqf @@ -0,0 +1,13 @@ +/* + Created exclusively for DayZ Epoch. Script by JasonTM. +*/ +private "_vehicle"; +_vehicle = _this select 3; + +r_action_cargoDrop = false; +call r_player_removeActions2; +//diag_log text format ["Cargo Drop: Vehicle %1",(typeOf _vehicle)]; + +// Send the information to the server to complete the drop. +PVDZE_cargoDrop = [_vehicle, dayz_authKey, player]; +publicVariableServer "PVDZE_cargoDrop"; \ No newline at end of file