Author Topic: Is There a Script That Prevents Players From Throwing Items?  (Read 858 times)

Hey everyone. For a gamemode I'm working on, I need a script that prevents players from forcing items out of their inventories. I tried searching, but the concept is so vague that I didn't find anything useful. Thanks in advance.

I THINK there's one somewhere, but I'm not sure.

There's multiple. I just can't think of what to search..

To further add, this would be useful. However, the only one I can remember discarded thrown items, I am not sure if there's one that actually prevents throwing them, but if there is, it would be nice to know.

There's one that does that, too.

package NoDropPackage { function serverCmdDropTool() {} }; activatePackage("NoDropPackage");


Just package serverCmdDropTool.

If you want to prevent individual items from being droppable, you can edit the .cs file of the item.