[RELEASE] Advanced truck inventory for ESX (black money, weapons, items)

The solution you need is right here. Have a look at the “getItemyWeight(item)” function. From there should be straightforward. I implemented this into my own trunk script which allows the player to deposit/withdraw weapons with ammo.

esx_truck by Pandos. (JSON)

1 Like