ESX Vehicle Inventory adding weapon storage

I’m using the default ESX vehicle inventory script, and it recognises inventory items but it doesn’t recognise weapons, even thought hey show in the inventory/f2 menu. Im just wondering if anyone has managed to make this work and if you have, if you’re willing to share how?

Thank you