Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private["_target", "_caller", "_callerID", "_targetID", "_friendlies", "_rfriendlies"];
- _target = _this select 0;
- _caller = _this select 1;
- call fnc_usec_medic_removeActions;
- r_action = false;
- _callerID = getPlayerUID _caller;
- _found=[_callerID,"AX"] call KRON_StrInStr;
- if (_found) then {
- _callerID=[_callerID] call KRON_convertPlayerUID;
- };
- _targetID = getPlayerUID _target;
- _found=[_targetID,"AX"] call KRON_StrInStr;
- if (_found) then {
- _targetID=[_targetID] call KRON_convertPlayerUID;
- };
- _friendlies = _caller getVariable ["friendlies", []];
- _friendlies set [count _friendlies, _targetID];
- _caller setVariable ["friendlies", _friendlies, true];
- _rfriendlies = _target getVariable ["friendlies", []];
- if !(_callerID in _rfriendlies) then {
- titleText [(localize "STR_EPOCH_ACTIONS_8"), "PLAIN DOWN"]; //To Caller
- /* PVS/PVC - Skaronator */
- PVDZE_send = [_target,"tagFriendly",[_target]]; //To Target
- publicVariableServer "PVDZE_send";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement