Files
DayZ-Epoch/SQF/dayz_code/medical/publicEH/medPainkiller.sqf
2014-01-11 20:23:50 +01:00

16 lines
478 B
Plaintext

// animHealed.sqf
private ["_array","_unit","_medic"];
_array = _this; //_this select 0;
_unit = _array select 0;
_medic = _array select 1;
if ((_unit == player) or (vehicle player != player)) then {
r_player_inpain = false;
R3F_TIRED_Accumulator = 0;
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;
};
/* WIP - PVS/PVC - Not anymore used: moved to server_sendToClient.sqf - Skaronator */
if (isServer) then {
_unit setVariable["medForceUpdate",true];
};