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 "Your not allowed to take medkits outside the wire!I'm taking yours away";
- };
- _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 "Your not allowed to take medkits outside the wire!I'm taking yours away";
- };
- } forEach _MagazinesList;
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement