diff --git a/@Enigma/addons/enigma_exile_revive.pbo b/@Enigma/addons/enigma_exile_revive.pbo index 318b486..4b94ac6 100644 Binary files a/@Enigma/addons/enigma_exile_revive.pbo and b/@Enigma/addons/enigma_exile_revive.pbo differ diff --git a/@Enigma/addons/enigma_exile_revive.pbo.bak b/@Enigma/addons/enigma_exile_revive.pbo.bak new file mode 100644 index 0000000..318b486 Binary files /dev/null and b/@Enigma/addons/enigma_exile_revive.pbo.bak differ diff --git a/@Enigma/addons/enigma_exile_revive/compile/Enigma/Exile_RevivePlayer.sqf b/@Enigma/addons/enigma_exile_revive/compile/Enigma/Exile_RevivePlayer.sqf index ac67d21..ab5b8d3 100644 --- a/@Enigma/addons/enigma_exile_revive/compile/Enigma/Exile_RevivePlayer.sqf +++ b/@Enigma/addons/enigma_exile_revive/compile/Enigma/Exile_RevivePlayer.sqf @@ -100,8 +100,10 @@ if (!local _requestingPlayer) then [_requestingPlayer] joinSilent ExileServerGraveyardGroup; _money = _requestingPlayer getVariable ["ExileMoney", 0]; + // Remove all items from dead body - _clear = { + _clear = + { _this = _object; removeAllActions _object; removeAllAssignedItems _object; @@ -120,6 +122,12 @@ if (!local _requestingPlayer) then _moneyHolder setVariable ["ExileMoney", _money, true]; }; + //remove money from the dead body + _requestingPlayer setVariable ["ExileMoney", 0]; + + //move deadplayer far far away! + _requestingPlayer setpos [0,0,0]; + _accountData = format["getAccountStats:%1", _requestingPlayerUID] call ExileServer_system_database_query_selectSingle; _group = createGroup independent; diff --git a/README.md b/README.md index 6b5dca0..1093496 100644 --- a/README.md +++ b/README.md @@ -2,17 +2,8 @@ Exile Revive System -changelog - -13/01/16 -- prevent duping of gear by revived player. -14/01/16 -- prevent accessing gear on player being revived (stops duping). -15/01/16 -- hotfix to enable access to corpse inventory after a failed revive. -17/01/16 -- updated animations for revive, place defib on ground as part of revive process. -02/02/16 -- added support for GR8 Humanity Script, hopefully fixed any God mode issues against AI. -03/03/16 -- updated to support Exile 0.9.6 - ------------------------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------HOW TO INSTALL ENIGMA EXILE REVIVE V0.65--------------------------------------------------------- +-----------------------------------------------------HOW TO INSTALL ENIGMA EXILE REVIVE V0.80--------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------ @@ -26,7 +17,6 @@ DMS_ai_offload_Only_DMS_AI = true; The AI that was being spawned are being taken over by DMS and this will NOT WORK IF YOU HAVE IT SET TO FALSE!!!!! (which it is by default!) - First add the startup paramaters @Enigma to your server! Copy the @Enigma Folder to your Server Root!