To update on my thoughts on this one; saving to the DB under the player is great; and its something I will use for weapon camos & tints.
However, because of this we wont be able to use this system for weapon attachments. Because the issue is you essentially only have to ever craft your attachments once. I run a RP city; so this saving to the database and not the actual gun means if you lose your gun, either its stolen in RP or police takes your weapon - you only have to get that same gun again and then its instantly filled with all of your attachments.
This script would hit a level of absolute P E R F E C T I O N if the weapon attachment items would save to the GUN, and the camos and tints saved to the PERSON. If you could make this happen @TGIANN - words cant express my happiness on this.
I save the weapons on the player so that the script is compatible with every system, but save system codes are editable, if you know coding, you can save on the weapon
I agree, Maybe possible suggestion for future update. I dont know enough to switch the coding, unsure if thats open also to edit on escrow. Guessing it is due to his comment.
However, for economy servers on ESX, having the attachments saved to player kinda hurts some of the hustle and grind for having dope weapons.
Outside of that, script is everything I really wanted with weapon customization and simple enough to setup!