mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-05-15 23:23:22 +03:00
Cleanup tagFriendly
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
private["_target", "_caller", "_action", "_callerID", "_targetID", "_friendlies", "_rfriendlies"];
|
private["_target", "_caller", "_callerID", "_targetID", "_friendlies", "_rfriendlies"];
|
||||||
_target = _this select 0;
|
_target = _this select 0;
|
||||||
_caller = _this select 1;
|
_caller = _this select 1;
|
||||||
_action = _this select 2;
|
|
||||||
|
|
||||||
call fnc_usec_medic_removeActions;
|
call fnc_usec_medic_removeActions;
|
||||||
r_action = false;
|
r_action = false;
|
||||||
@@ -15,7 +14,7 @@ _caller setVariable ["friendlies", _friendlies, true];
|
|||||||
|
|
||||||
_rfriendlies = _target getVariable ["friendlies", []];
|
_rfriendlies = _target getVariable ["friendlies", []];
|
||||||
|
|
||||||
if (!(_callerID in _rfriendlies)) then {
|
if !(_callerID in _rfriendlies) then {
|
||||||
// caller
|
// caller
|
||||||
titleText ["You have tagged a player as friendly. Waiting for other player to accept.", "PLAIN DOWN"]; // TODO: localize
|
titleText ["You have tagged a player as friendly. Waiting for other player to accept.", "PLAIN DOWN"]; // TODO: localize
|
||||||
// target
|
// target
|
||||||
|
|||||||
Reference in New Issue
Block a user