Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sleep 0.1;
- while {true} do
- {
- sleep 5;
- if (player distance aidstation1 > 30) then
- {
- if ("ACE_Medkit" in (magazines player)) then
- {
- player removeMagazine "ACE_Medkit";
- hintSilent "You can only use medkits while within 15 meters of the field hospital";
- };
- _has_rack = [player] call ACE_fnc_HasRuck;
- if (_has_rack) then
- {
- _MagazinesList = [player] call ACE_fnc_RuckMagazinesList;
- {
- //hint format["Name %1", _x select 0];
- _x = _x select 0;
- if (_x == "ACE_Medkit") then
- {
- [player, "MAG", "ACE_Medkit"] call ACE_fnc_RemoveGear;
- hintSilent "You can only use medkits while within 15 meters of the field hospital";
- };
- };
- forEach _MagazinesList;
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement