mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-16 21:22:57 +03:00
fixed #813 and cutext confirmation fixes
This commit is contained in:
@@ -3,7 +3,8 @@ _target = _this select 0;
|
||||
_caller = _this select 1;
|
||||
_action = _this select 2;
|
||||
|
||||
_caller removeAction _action;
|
||||
call fnc_usec_medic_removeActions;
|
||||
r_action = false;
|
||||
|
||||
_callerID = _caller getVariable "CharacterID";
|
||||
_targetID = _target getVariable "CharacterID";
|
||||
@@ -16,8 +17,8 @@ _rfriendlies = _target getVariable ["friendlies", []];
|
||||
|
||||
if (!(_callerID in _rfriendlies)) then {
|
||||
// caller
|
||||
titleText [format["You have tagged a player as friendly. Waiting for other player to accept.",(name _target)], "PLAIN DOWN"];
|
||||
titleText ["You have tagged a player as friendly. Waiting for other player to accept.", "PLAIN DOWN"]; // TODO: localize
|
||||
// target
|
||||
PVDZE_plr_FriendRQ = format[(localize "str_epoch_player_2"), (name _caller)];
|
||||
PVDZE_plr_FriendRQ = _target;
|
||||
publicVariable "PVDZE_plr_FriendRQ";
|
||||
};
|
||||
Reference in New Issue
Block a user