Dersicko / keep-gunrack

qbcore police gun rack system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

keep-gunrack

Allows police to add and open gun racks. Gun racks are hidden from other non-police players.

Preview

Video

Dependencies

  • qb-core
  • progressbar
  • qb-radialmenu

How to Install

  • step0: Add images/policegunrack.png to qb-inventory/html/images
  • step1: Add Below code to qb-core/shared/items.lua
["policegunrack"] = {
     ["name"] = "policegunrack",
     ["label"] = "Police Gun Rack",
     ["weight"] = 15000,
     ["type"] = "item",
     ["image"] = "policegunrack.png",
     ["unique"] = false,
     ["useable"] = true,
     ["shouldClose"] = true,
     ["combinable"] = nil,
     ["description"] = "Gun rack for police vehicles"
},
  • last step: ensure script after all dependencies ensure keep-gunrack (server.cfg)

Config

  • Add vehicle's models or classes you want to get whitelisted
  • Customize rack size and durations

Support

About

qbcore police gun rack system

License:GNU General Public License v3.0


Languages

Language:Lua 100.0%