Wert Dev Docs
Tebex StoreDiscord
  • ℹ️About Us
  • Products
    • QBCore
      • Wert Pd Roster
      • Wert Jewel Robbery V2
      • Wert Jammer
      • Wert Gps V2
      • Wert Ammunation Jobs
      • Wert Jobs V2
      • Wert Contactless Payment
      • Wert GoPro (Watch vehicles with gopros)
      • Wert Shop Robbery
      • Wert Shops + Delivery Jobs (Buy and manage your shops)
      • Wert Houses
      • Wert Ambulance Job
      • Wert BodyCam (For civilians and jobs)
      • Wert Police Systems V2
      • Wert ChopShop V2
      • Wert Taboo (Play and enjoy)
      • Wert illegal house robbery
      • Wert Banking (Bank ui and system)
      • Wert Paleto Bank Robbery V2
      • Wert Car Arena (Death race, Death match, Arena war)
      • Wert Blackmarket Phone
      • Wert Gang Zone (Advanced Npc System)
      • Wert Fuel Stations (Job, Buy, Manage, Create and more ... )
      • Wert Craft System
      • Wert Merryweather Job
      • Wert Cleaning System And Jobs
      • Wert Weapon Racks (Deployable, Advanced)
      • Wert Water Dispensers (Coolers)
      • Wert Lucky Wheel
      • Wert Evidence System
      • Wert Give Money System
      • Wert Ems Roster System
      • Wert New Year Lottery
      • Wert Vending Machines
    • ESX
      • Wert Shop Robbery
      • Wert Jewel Robbery V2
      • Wert Gps V2
      • Wert Police Systems V2
      • Wert Jobs V2
      • Wert Contactless Payment
      • Wert GoPro (Watch vehicles with gopros)
      • Wert Ammunation Jobs
      • Wert BodyCam (For civilians and jobs)
      • Wert ChopShop V2
      • Wert Taboo (Play and enjoy)
      • Wert illegal house robbery
      • Wert Paleto Bank Robbery V2
      • Wert Jammer
      • Wert Car Arena (Death race, Death match, Arena war)
      • Wert Banking (Bank ui and system)
      • Wert Fuel Stations (Job, Buy, Manage, Create and more ... )
      • Wert Gang Zone (Advanced Npc System)
      • Wert Blackmarket Phone
      • Wert Craft System
      • Wert Merryweather Job
      • Wert Cleaning System And Jobs
      • Wert Weapon Racks (Deployable, Advanced)
      • Wert Water Dispensers (Coolers)
      • Wert Lucky Wheel
      • Wert Evidence System
      • Wert Give Money System
      • Wert Ems Roster System
      • Wert New Year Lottery
      • Wert Pd Roster
      • Wert Vending Machines
      • Wert Ambulance Job
    • Qbox
      • Wert Pd Roster
      • Wert Jewel Robbery V2
      • Wert Jammer
      • Wert Gps V2
      • Wert Ammunation Jobs
      • Wert Jobs V2
      • Wert Contactless Payment
      • Wert GoPro (Watch vehicles with gopros)
      • Wert Shop Robbery
      • Wert Shops + Delivery Jobs (Buy and manage your shops)
      • Wert Houses
      • Wert Ambulance Job
      • Wert BodyCam (For civilians and jobs)
      • Wert Police Systems V2
      • Wert-ChopShopV2
      • Wert Taboo (Play and enjoy)
      • Wert illegal house robbery
      • Wert Banking (Bank ui and system)
      • Wert Paleto Bank Robbery V2
      • Wert Car Arena (Death race, Death match, Arena war)
      • Wert Blackmarket Phone
      • Wert Gang Zone (Advanced Npc System)
      • Wert Fuel Stations (Job, Buy, Manage, Create and more ... )
      • Wert Craft System
      • Wert Merryweather Job
      • Wert Cleaning System And Jobs
      • Wert Weapon Racks (Deployable, Advanced)
      • Wert Water Dispensers (Coolers)
      • Wert Lucky Wheel
      • Wert Evidence System
      • Wert Give Money System
      • Wert Ems Roster System
      • Wert New Year Lottery
      • Wert Vending Machines
    • STANDALONE
      • Wert Npc Dialog System
      • Wert Racing Hud
Powered by GitBook
On this page
  • INSTALLATION
  • IMPORTANT
  • QB JOB TABLE EXAMPLE (MY USE)
  • I want to add new gun shop?
  • Installation complete
  1. Products
  2. Qbox

Wert Ammunation Jobs

You can access the setup information you need about this product

PreviousWert Gps V2NextWert Jobs V2

Last updated 10 days ago

INSTALLATION

1 - Prepare the depends scripts and upload them to the resources folder.

  • DEPENDS

  • PolyZone ()

  • qb-target or ox_target or any target system

2 - Open server.cfg

3 - Give the command to start the script

4 - Don't forget to edit your config file for your own server

IMPORTANT

  1. Open qb-inventory/server/main.lua

  2. Add the following codes to the place shown in the picture

TriggerClientEvent('wert-ammotransferjob:client:UpdateShop', src, QBCore.Shared.SplitStr(shopType, "_")[1], itemData, fromAmount)
TriggerClientEvent("wert-shopanim", -1, QBCore.Shared.SplitStr(shopType, "_")[1])
exports['qb-management']:AddMoney(QBCore.Shared.SplitStr(shopType, "_")[1], price)

QB JOB TABLE EXAMPLE (MY USE)

  • Go qb-core/shared/jobs.lua and add your job table this codes

['ammushop1'] = {
	label = 'Ammunatin job',
	defaultDuty = true,
	offDutyPay = false,
	grades = {
        ['0'] = {
            name = 'Sales',
            payment = 50
        },
        ['1'] = {
            name = 'Manager',
			isboss = true,
            payment = 50
        },
    },
},
['ammushop2'] = {
	label = 'Ammunatin job',
	defaultDuty = true,
	offDutyPay = false,
	grades = {
        ['0'] = {
            name = 'Sales',
            payment = 50
        },
        ['1'] = {
            name = 'Manager',
			isboss = true,
            payment = 50
        },
    },
},
['ammushop3'] = {
	label = 'Ammunatin job',
	defaultDuty = true,
	offDutyPay = false,
	grades = {
        ['0'] = {
            name = 'Sales',
            payment = 50
        },
        ['1'] = {
            name = 'Manager',
			isboss = true,
            payment = 50
        },
    },
},
['ammushop4'] = {
	label = 'Ammunatin job',
	defaultDuty = true,
	offDutyPay = false,
	grades = {
        ['0'] = {
            name = 'Sales',
            payment = 50
        },
        ['1'] = {
            name = 'Manager',
			isboss = true,
            payment = 50
        },
    },
},
['ammushop5'] = {
	label = 'Ammunatin job',
	defaultDuty = true,
	offDutyPay = false,
	grades = {
        ['0'] = {
            name = 'Sales',
            payment = 50
        },
        ['1'] = {
            name = 'Manager',
			isboss = true,
            payment = 50
        },
    },
},
['ammushop6'] = {
	label = 'Ammunatin job',
	defaultDuty = true,
	offDutyPay = false,
	grades = {
        ['0'] = {
            name = 'Sales',
            payment = 50
        },
        ['1'] = {
            name = 'Manager',
			isboss = true,
            payment = 50
        },
    },
},

I want to add new gun shop?

  • Follow these steps :

  1. First of all, add the job you will add to your job table.

  2. Do not forget to add the name of the newly added profession to the Config.Jobs table.

  3. Add the coordinate of the new profession to the Config.GunShops table to determine the delivery box point.

  4. Take a coordinate from the front of the shop and add it to the Config.PolyGunShops table.

  5. Add your new shop information to the Config.AmmunationShops table.

  6. Add your new profession's sales items to the Config.ShopItems table.

  7. Do not forget to create the polyzone of the new profession in the local PolyGunShops table in client.lua.

  8. Don't forget the html update too.

  9. #-- PLEASE LOOK AT THE EXAMPLES I MADE WHEN ADDING A PROFESSION --#

Installation complete

https://github.com/mkafrin/PolyZone