mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 09:32:02 +03:00
13 lines
323 B
Plaintext
13 lines
323 B
Plaintext
private ["_hasMeds","_med"];
|
|
_med = "ItemAntibiotic";
|
|
_hasMeds = _med in magazines player;
|
|
if (_hasMeds) then {
|
|
player removeMagazine _med;
|
|
};
|
|
//remove option
|
|
player removeAction s_player_antiobiotic;
|
|
s_player_antiobiotic = -1;
|
|
|
|
//remove infection
|
|
r_player_infected = false;
|
|
player setVariable["USEC_infected",false,true]; |