Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (!(local player)) exitWith {};
- _weps = [player] call ACE_fnc_RuckWeaponsList;
- _count = if (player hasWeapon "EvMoney") then {1} else {0};
- {
- _type = _x select 0;
- if (_type == "EvMoney") exitWith
- {
- _count = (_x select 1);
- _weps = _weps - [_x];
- player setvariable ["ACE_RuckWepContents", _weps];
- };
- } forEach _weps;
- if (_count > 0) then
- {
- ["CUL_money", [_count]] call CBA_fnc_globalEvent;
- };
Add Comment
Please, Sign In to add comment