The title is a bit misleading. I should have asked if there is a hook that allows me to immediately destroy any item that is thrown.
Also, is it possible to immediately destroy the item a player throws out of his/her inventory - or whenever the player dies and automatically drops the item in his/her hand?
A similar hook would be OnWeaponThrown.
Thanks in advance.
Detecting item dropped/thrown?
Discussion in 'Rust Development' started by mvrb, Oct 26, 2015.
-
server.itemdespawn 0
This will make it so NO item ever stays on the ground.. -
Thsnks. I'd like it to only apply in a specific zone, but I guess that's not possible.
[DOUBLEPOST=1445941445][/DOUBLEPOST]It seems like immediately destroying the corpse entity when it is spawned has the same effect as I wanted.
