removeItem
apapun framework kamu, function ini tetap bisa digunakan
xxx:removeItem(src, data)xxx:removeItem(1, {item = 'phone', count = 1})if xxx:removeItem(1, {item = 'phone', count = 1}) then
xxx:notif(1, 'berhasil mengurangi 1x phone', 'success', 3000)
endkamu juga bisa pakai cara ini untuk lebih cepat tanpa table.
xxx:removeItem(src, namaitem, jumlah, metadata, slot)xxx:removeItem(1, 'sandwich', 1)if xxx:removeItem(1, 'phone', 1) then
xxx:notif(1, 'berhasil mengurangi 1x phone', 'success', 3000)
endLast updated