Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Inventory [QB-ESX]keep-containers

bobo1222

Silver Elite
Joined
May 18, 2022
Messages
53
Reaction score
26
Points
176
Location
hongkong

安裝​

  • 第 1 步:將資源拖放到您的服務器上!
  • 第 1-2 步:您不需要在數據庫中導入 sql,腳本會自行執行。
  • 第 2 步:在您選擇的框架中配置腳本。
  • 第 3 步:將項目添加到列表
  • QBCore(共享/items.lua)


    [“containergreensmall”] = {
    ["name"] = "containergreensmall",
    ["label"] = "綠色小容器",
    [“重量”] = 5000,
    ["類型"] = "項目",
    ["image"] = "container_green_small.png",
    [“唯一”] = 真,
    [“可用”] = 真,
    ["shouldClose"] = true,
    [“可組合”] = 無,
    ["description"] = "綠色小容器"
    },

    [“containerbluemid”] = {
    ["name"] = "containerbluemid",
    ["label"] = "中藍色容器",
    [“重量”] = 5000,
    ["類型"] = "項目",
    ["image"] = "container_blue_mid.png",
    [“唯一”] = 真,
    [“可用”] = 真,
    ["shouldClose"] = true,
    [“可組合”] = 無,
    ["description"] = "綠色小容器"
    },

    [“containeroldmid”] = {
    ["name"] = "containeroldmid",
    ["label"] = "Mid Old Container",
    [“重量”] = 5000,
    ["類型"] = "項目",
    ["image"] = "container_old_mid.png",
    [“唯一”] = 真,
    [“可用”] = 真,
    ["shouldClose"] = true,
    [“可組合”] = 無,
    ["description"] = "綠色小容器"
    },

    [“containerwhitemid”] = {
    ["name"] = "containerwhitemid",
    ["label"] = "中白容器",
    [“重量”] = 5000,
    ["類型"] = "項目",
    ["image"] = "container_white_mid.png",
    [“唯一”] = 真,
    [“可用”] = 真,
    ["shouldClose"] = true,
    [“可組合”] = 無,
    ["description"] = "綠色小容器"
    },

    [“containerboltcutter”] = {
    ["name"] = "containerboltcutter",
    ["標籤"] = "斷線鉗",
    [“重量”] = 1000,
    ["類型"] = "項目",
    ["image"] = "boltcutter.png",
    [“唯一”] = 真,
    [“可用”] = 假,
    ["shouldClose"] = false,
    [“可組合”] = 無,
    ["description"] = "警察打開集裝箱的斷線鉗"
    }
    • ESX (ox_inventory/data/items.lua)

    • [“container_green_small”] = {
      label = "綠色小容器",
      權重 = 5,
      堆棧=假,
      關閉=真,
      描述 = 無
      },

      [“container_blue_mid”] = {
      label = "中藍色容器",
      重量 = 15,
      堆棧=假,
      關閉=真,
      描述 = 無
      },

      [“container_old_mid”] = {
      label = "中舊容器",
      重量 = 15,
      堆棧=假,
      關閉=真,
      描述 = 無
      },

      [“container_white_mid”] = {
      label = "中白容器",
      重量 = 15,
      堆棧=假,
      關閉=真,
      描述 = 無
      },

      [“containerboltcutter”] = {
      標籤=“斷線鉗”,
      權重 = 1,
      堆棧=假,
      關閉=假,
      description = '警察打開集裝箱的斷線鉗'
      }
      • 第 4 步:如果要使用 ox_lib,請確保取消註釋 fxmanifest.lua 中的“@ox_lib/init.lua”這一行。
 

Attachments

  • keep-containers.jpg
    keep-containers.jpg
    63 KB · Views: 2,918
  • ox_target.jpg
    ox_target.jpg
    162.9 KB · Views: 269
  • qbtarget.jpg
    qbtarget.jpg
    113.6 KB · Views: 280
  • keep-containers-master.zip
    423 KB · Views: 137
Top