Addon resources
Police Job

ND_Police

This is a script that contains all essential features the Police needs in a roleplay server. You can use ND_MDT, shot spotter notifications will be reported there. The ND_AppearanceShops will create personal wardrobe in police lockers in this resource. Use inventory to create armouries, and use ND_Core to create police garages.

Preview video

Setup guide

Install the resource

Download and add the resource to your server ND_Police (opens in a new tab)

Install dependencies

Create inventory items

items.lua
["shield"] = {
    label = "Police shield",
    weight = 8000,
    stack = false,
    consume = 0,
    client = {
        export = "ND_Police.useShield",
        add = function(total)
            if total > 0 then
                    pcall(function() return exports["ND_Police"]:hasShield(true) end)
                end
            end,
        remove = function(total)
            if total < 1 then
                pcall(function() return exports["ND_Police"]:hasShield(false) end)
            end
        end
    }
},
["spikestrip"] = {
    label = "Spikestrip",
    weight = 500,
    client = {
        export = "ND_Police.deploySpikestrip"
    }
},
["cuffs"] = {
    labal = "Handcuffs",
    weight = 150,
    client = {
        export = "ND_Police.cuff"
    }
},
["zipties"] = {
    labal = "Zipties",
    weight = 10,
    client = {
        export = "ND_Police.ziptie"
    }
},
["tools"] = {
    label = "Tools",
    description = "Can be used to hotwire vehicles.",
    weight = 800,
    consume = 1,
    stack = true,
    close = true,
    client = {
        export = "ND_Core.hotwire",
        event = "ND_Police:unziptie"
    }
},
["handcuffkey"] = {
    label = "Handcuff key",
    weight = 10,
    client = {
        export = "ND_Police.uncuff"
    }
},
["casing"] = {
    label = "Bullet Casing"
},
["projectile"] = {
    label = "Projectile"
},

shield spikestrip cuffs zipties tools handcuffkey

casing-ammo-380 casing-ammo-41 casing-ammo-45 casing-ammo-9 casing-ammo-rifle casing-ammo-rifle2 casing-ammo-shotgun

projectile-ammo-380 projectile-ammo-41 projectile-ammo-45 projectile-ammo-9 projectile-ammo-rifle projectile-ammo-rifle2