Detecting item dropped?
Discussion in 'Rust Development' started by Mekare, Jun 17, 2016.
-
Try using the hook OnItemRemovedFromContainer and then using a NextTick() to see if the item's parent is null.
Code:NextTick((), => { if (item.parent != null) return //item was not dropped });
