This is a very simple script (40-50~ lines) made per request that allows you to have your players drop all of their items(Or weapons only) when/where they die.
This script requires ESX & Ox Inventory!
Features
Lightweight and can be combined with another script as it’s more or less a snippet
Option to set all items or weapons only to drop on death (Check server.lua)
Oh no I’m using the lj-inventory for qbcore. I had a script that would drop a bag on death that I purchased from somebody but it hasn’t been working for me anymore.
And for cheeza? I would pay for this and more than anything that “X” time passes before they press the “E” to reappear would be excellent! This would avoid many anti role, which disconnect cable and then reconnect.
Is there a way to whitelist objects ? Like if I wanted to make it so players carrying a paper bag or wallet would not drop that but they would drop everything else ?