Hi, I was trying to make a plugin that disallow to drop any item in a region. But I don't know how to cancel an event or if it's even possible. How can I do that ? Thanks in advance.
Cancelling an event from being fired?Solved
Are you talking about native game events or plugins?
object OnItemDrop(Inventory inventory, int slot)
{
Puts("Let's prevent item from dropping as this is an object hook that can return");
return true;
} Locked automatically