1. I have an active item, by player.GetActiveItem() - I get the item id etc., so I can re-create that item as needed.

    However, I would like to remove that item from the player first, how can I do that?

    Thanks!
     
  2. Code:
     [ChatCommand("killheld")]
            private void cmdKillHeld(BasePlayer player, string command, string[] args)
            {
                var heldItem = player?.GetActiveItem() ?? null;
                if (heldItem != null) heldItem.RemoveFromContainer();
            }
    You remove and handle it just like any other item. I assumed you wanted to completely get rid of the item, yes? If so, the above should do that.
     
  3. That did the trick! Thanks!