From b5255b07b34607f1be5402d8410da31577aeb82f Mon Sep 17 00:00:00 2001 From: A Man Date: Sun, 16 Feb 2020 01:38:39 +0100 Subject: [PATCH] Update hide_body.sqf --- SQF/dayz_code/actions/hide_body.sqf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/hide_body.sqf b/SQF/dayz_code/actions/hide_body.sqf index 646e022a4..717a0d149 100644 --- a/SQF/dayz_code/actions/hide_body.sqf +++ b/SQF/dayz_code/actions/hide_body.sqf @@ -13,4 +13,9 @@ if (isNull _body) exitWith { dayz_actionInProgress = false;}; player action ["hideBody", _body]; -dayz_actionInProgress = false; \ No newline at end of file +dayz_actionInProgress = false; + +if (_body isKindOf "zZombie_base" || {_body isKindOf "Animal"}) then { + uisleep 5; + deleteVehicle _body; +}; \ No newline at end of file