I am using a script to collect plants.
However, when the original plant returns, the former does not disappear and is full of bugs.
function onUse(cid, item, frompos, itemEx, topos)
local chance = 1 -- chance de cortar
local madeiras = {17170} -- item que o player irá ganhar
local...