mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-24 00:50:50 +03:00
Push #941 - Transfuse
This commit is contained in:
@@ -27,6 +27,7 @@ if (_unit == player) then {
|
||||
|
||||
player setVariable["USEC_BloodQty",r_player_bloodTotal,true];
|
||||
};
|
||||
/* WIP - PVS/PVC - Not anymore used: moved to server_sendToClient.sqf - Skaronator */
|
||||
if (isServer) then {
|
||||
_unit setVariable["medForceUpdate",true];
|
||||
};
|
||||
|
||||
@@ -45,11 +45,14 @@ if (_finished) then {
|
||||
_unit setVariable["USEC_lowBlood",false,true];
|
||||
_num_removed = ([player,"ItemBloodbag"] call BIS_fnc_invRemove);
|
||||
if(_num_removed == 1) then {
|
||||
//["usecTransfuse",[_unit,player]] call broadcastRpcCallAll;
|
||||
usecTransfuse = [_unit,player];
|
||||
publicVariable "usecTransfuse";
|
||||
|
||||
/* WIP - PVS/PVC - Skaronator
|
||||
PVDZE_send = [_unit,"Transfuse",[_unit,player]];
|
||||
publicVariableServer "PVDZE_send";
|
||||
*/
|
||||
|
||||
//PVDZE_plr_HumanityChange = [player,100];
|
||||
[player,100] call player_humanityChange;
|
||||
};
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user