Update Enigma_RevivePlyr.sqf

This commit is contained in:
MGT 2020-08-20 16:40:33 +01:00 committed by GitHub
parent 1b9fea5aad
commit 241016be61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ Enigma_RevivePlyr.sqf
© 2016 Enigma Team
*/
private ["_target","_targetname", "_bodypos1", "_bodypos2", "_bodypos3", "_healPlace", "_action", "_bodypos", "_animstate", "_primaryw", "_timer", "_Anims", "_defibpos", "_defibangle", "_posh", "_posi", "_dy", "_dx", "_dir", "_position", "_lootHolder", "_targetsbleedoutcountdown", "_secondsRemaining", "_playersNearby"];
private ["_target","_targetname", "_bodypos1", "_bodypos2", "_bodypos3", "_healPlace", "_action", "_bodypos", "_animstate", "_primaryw", "_timer", "_Anims", "_defibpos", "_defibangle", "_posh", "_posi", "_dy", "_dx", "_dir", "_position", "_lootHolder", "_targetsbleedoutcountdown", "_secondsRemaining", "_playersNearby", "_exit"];
_target = _this select 0;
_targetname = name _target;
@ -32,7 +32,7 @@ _playersNearby = [player, 10] call ExileClient_util_world_getAlivePlayerInfantry
};
}
forEach _playersNearby;
if(_exit isEqualTo true)exitWith{};
if (_target getVariable "EnigmaRevivePermitted") then
{