Add a custom weapon on ESX
Don't forget to add the weapon image to your inventory system.
The images are located in each our script file.
For all inventories, the addition of images is more or less identical.
For qb-inventory the directory is: /qb-inventory/html/images/
For ak47_qb_inventory the directory is: /ak47_qb_inventory/web/build/images/
For ox_inventory the directory is: /ox_inventory/web/images/
For esx_inventory the directory is: /esx_inventory/html/img/items/
List of weapon names in our scripts:
Advanced Megaphone System
WEAPON_MEGAPHONE
Advanced Pepper Spray
WEAPON_PEPPERSPRAY
WEAPON_ANTIDOTE
Advanced Remote Restraint
WEAPON_BOLAWRAP
Advanced Extrication System
WEAPON_SPREADER
WEAPON_CUTTER
WEAPON_GLASSMASTER
Advanced Tactical Gas System
WEAPON_GRENADE_SMOKE
WEAPON_GRENADE_STUN
WEAPON_GRENADE_TEARGAS
Last updated