I am having this issue now. If the gun is not compatible, it still takes that attachment off.
It still removed the attachment from your inventory.
Hey why can’t I use the item? It just greys out when i try to drag it on use function.
I don’t know why but for some reason I cant use the item. Whenever I drag it to use it grays out meaning that it’s not useable I drag it to my gun as well nothing happens. My gun is also out at the time. I am currently using esx_inventoryhud
Maybe a bit late but add
TriggerServerEvent('eden_accesories:giveBack', (type))
on row 53
same here. There is no DB import/save integrated.
Does anyone has a clever solution for this ?