Kofferbak_dupe.lua -

Automatically forces the inventory UI to close upon item transfer to prevent "ghost" item manipulation.

Duplication often occurs when a player puts an item in a trunk, keeps the inventory open, and then quits or restarts the server, causing the item to remain in both the trunk and the player's inventory. Scripting in Lua - Cfx.re Docs kofferbak_dupe.lua

Use this text if you are adding the script to your server resources to prevent players from duplicating items. Automatically forces the inventory UI to close upon