Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fnc_hasItems = {
- _unit = (this select 0);
- _requiredItems = (this select 1);
- ({_x in magazines _unit} count _requiredItems == count _requiredItems)
- };
- _canHazItemz = [player,["bandage","ephedrine","adrenaline","morphine"]] call fnc_hasItems;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement