Skip to main content
1

📦Required Dependencies

2

🐂 Add the spraygun to the ignored weapon list (ox_inventory)

Add the following convar to your server.cfg to prevent ox_inventory from removing the spraygun weapon
setr inventory:ignoreweapons ["WEAPON_SPRAYGUN"]
Save the changes and restart your server to apply the configuration
If you already have the inventory:ignoreweapons convar set elsewhere in your server.cfg, simply add WEAPON_SPRAYGUN to the existing array.
For example, if your current array is ["WEAPON_KNIFE", "WEAPON_BAT"], update it to ["WEAPON_KNIFE", "WEAPON_BAT", "WEAPON_SPRAYGUN"].

Make sure each weapon is separated by a comma and enclosed in double quotes.