From e71dcf3c18da750cd449b842c5a0494bcbc5fe6a Mon Sep 17 00:00:00 2001 From: Edward Date: Fri, 12 Jun 2020 14:16:48 +0200 Subject: [PATCH 1/2] Paycheck during death fix --- Altis_Life.Altis/core/fn_survival.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Altis_Life.Altis/core/fn_survival.sqf b/Altis_Life.Altis/core/fn_survival.sqf index 26d43b4d7..18d85c5cd 100644 --- a/Altis_Life.Altis/core/fn_survival.sqf +++ b/Altis_Life.Altis/core/fn_survival.sqf @@ -47,7 +47,7 @@ _fnc_water = { }; private _fnc_paycheck = { - if (alive player) then { + if (life_is_alive) then { private _paycheck = call life_paycheck; if (player distance (getMarkerPos "fed_reserve") < 120 && playerSide isEqualTo west) then { systemChat format [localize "STR_ReceivedPay",[_paycheck + 1500] call life_fnc_numberText]; From 6c7a9aabb46aaadd97bccfc38a952c881c00fb1c Mon Sep 17 00:00:00 2001 From: Edward <24864616+Turdant@users.noreply.github.com> Date: Sat, 22 Aug 2020 17:43:51 +0200 Subject: [PATCH 2/2] Add life_is_alive to respawn --- Altis_Life.Altis/core/medical/fn_respawned.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/Altis_Life.Altis/core/medical/fn_respawned.sqf b/Altis_Life.Altis/core/medical/fn_respawned.sqf index 425db871d..5eb4517b6 100644 --- a/Altis_Life.Altis/core/medical/fn_respawned.sqf +++ b/Altis_Life.Altis/core/medical/fn_respawned.sqf @@ -16,6 +16,7 @@ life_thirst = 100; life_carryWeight = 0; CASH = 0; //Make sure we don't get our cash back. life_respawned = false; +life_is_alive = true; player playMove "AmovPercMstpSnonWnonDnon"; life_corpse setVariable ["Revive",nil,true];