mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 17:20:26 +03:00
13 lines
328 B
Plaintext
13 lines
328 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]; |