FiveM LUA script: inventory duplicating items

Job ID: 33805244

Budget: $10 – $30 USD

I've attached a FiveM inventory script that is installed in our server.

It's duplicating items. Allowing players to duplicate items exploiting this bug.

Attached the script and a video showing the problem.
Related categories: JavaScript Lua