Nemanjic 71 Posted May 28, 2023 Guys please if someone can do a quick test of what is happening with such a simple command? is it broken or what? No error, RPT is empty, tested every possible variant: player removeItems "rvg_money"; R01 removeItems "rvg_money"; {_unit = _x; {_unit removeItems _x} forEach ["rvg_money"]} forEach (allUnits select {!isPlayer _x}); both single and multiplayer and nothing happens!? Command removeItem works normally, but of course, as you know it removes only one item from any unit inventory storage starting from uniform, but if there are 10 items I need to run code 10 times to remove all. It is not resolving the problem because the items that the unit is carrying are obtained from one part of the mission and carried over to another phase of the operation so I don't know how many of the items the unit will carry, but I need him to be "clean" of that specific item at all so the only way is to run code thousand times to be sure - what is not cool at all. I am so sad that I need to create a new topic for such a small problem but I don't see any other way also I need it urgent to be served tonight and nobody of my dudes can't test it on another computer right now so please if anyone can do this or knows the other solution. Thanks in advance Share this post Link to post Share on other sites
Harzach 2517 Posted May 28, 2023 23 minutes ago, Nemanjic said: No error I get a no config entry error. This is because "rvg_money" is not an item, but a magazine. player removeMagazines "rvg_money"; 1 Share this post Link to post Share on other sites
Nemanjic 71 Posted May 28, 2023 OMG ACE self-interaction/ dig spider hole/ getIn nemanjic and not go out for some time 🙈 7 minutes ago, Harzach said: I get a no config entry error. This is because "rvg_money" is not an item, but a magazine. player removeMagazines "rvg_money"; I would never come to that idea because when adding that to storages I put addItem not an addMagazine. Thanks BRO! 1 Share this post Link to post Share on other sites
Harzach 2517 Posted May 28, 2023 It's not uncommon for an "item" to actually be a magazine/weapon/etc. Add that check to your troubleshooting repertoire. Have a great session! *edit* - forgot to add, Yes! addItem can compound the confusion as it works for mags and weapons. Thanks, BI! 😄 1 Share this post Link to post Share on other sites