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