mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-03 14:41:36 +03:00
check if player is alive for humanity change
This commit is contained in:
1 parent
89eea668f5
commit
6fa3365b70
1 file changed
+1
-1
@@ -31,7 +31,7 @@ if (_unit == player) 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 = (_model in ["Bandit1_DZ","BanditW1_DZ"]);
|
||||
|
||||
Reference in new issue
Block a user