Here is my code:
The player gets a single item, not 0. No more than 1.Code:oid OnDispenserGather(ResourceDispenser dispenser, BaseEntity entity, Item item) { if (!entity.ToPlayer()) return; item.amount = 0; }
Any ideas? is this not possible?
Having trouble with OnDispenserGather (item.amount = 0)
Discussion in 'Rust Development' started by carny666, Sep 10, 2017.