renzuzu / renzu_projectcars

FIvem - Project Cars - Enable your player to build their dream car from Shell. Included Advanced Chopshop and Car Builder Job.
92 stars 39 forks source link

problem item remains in inventory #54

Open emilie2034 opened 1 year ago

emilie2034 commented 1 year ago

Hi I love your scripts but I have a little problem with renzu_projectcars when I build my car the items remain in my inventory on qb-core

ajmedina commented 1 year ago

i dont use a qbcore but this FRAMEWORK uses QB INVENTORY not ox_inventory Are you using OX-INVENTORY?

Experimental support for qb-core has been added, but requires a recent installation. Do not expect 100% compatibility or support. Not compatible 100%

WillyShotty commented 1 year ago

I have the same issue , it doesnt remove the items from my inventory after using it when im building the car, exept that everything in the script works perfectly fine with the latest qbcore and i did everything you said in the other post... is it possible to maybe add a functions to remove the items after use ? please

Blaze0341 commented 1 year ago

Replace Server.Lua line 405 with: exports['qb-inventory']:RemoveItem(source, item, 1, {