# Add a custom weapon on ESX

{% embed url="<https://www.youtube.com/watch?v=Qsw6kazodLA>" %}

{% hint style="danger" %}
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/
{% endhint %}

{% hint style="info" %}
When you've finished creating your item, don't forget to set UseFramework to true in the config.lua file of the script in question!
{% endhint %}

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`
