mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
check if player is alive for humanity change
This commit is contained in:
@@ -31,7 +31,7 @@ if (_unit == player) then
|
|||||||
{
|
{
|
||||||
if (_hit == "") then
|
if (_hit == "") then
|
||||||
{
|
{
|
||||||
if ((_source != player) and _isPlayer) then
|
if ((_source != player) and _isPlayer && alive player) then
|
||||||
{
|
{
|
||||||
_isBandit = (player getVariable["humanity",0]) <= -5000;
|
_isBandit = (player getVariable["humanity",0]) <= -5000;
|
||||||
//_isBandit = (_model in ["Bandit1_DZ","BanditW1_DZ"]);
|
//_isBandit = (_model in ["Bandit1_DZ","BanditW1_DZ"]);
|
||||||
|
|||||||
Reference in New Issue
Block a user