example
example

资源 QBcore 改善的房屋抢劫

Yann

站长
管理成员
GTAOS管理组
认证卖家
认证用户
本 月 名 人 榜 最 佳
image
image1920×1280 158 KBhttps://forum.cfx.re/uploads/default/original/4X/7/3/c/73c7d41a953738da7b48f6b5bd8dd704074bfcd9.jpeg

QB-房子抢劫​

标准 QB-HouseRobbery,具有附加功能并支持 ps-ui、ps-dispatch 和 boii_ui 迷你游戏

特征​

  • 房屋的分层战利品系统
  • 支持 ps-dispatch 或正常的 qb 警察警报
  • 支持 ps-ui、技能栏和 Boii_ui 小游戏
  • 通过 config.lua 轻松更改小游戏设置等

开锁​

在 qb-lockpick、ps-ui skillcircle 或 Boii_UI Keydrop 之间选择用于开锁房屋门

搜索项目​

在 qb-skillbar、ps-ui skillcircle 或 Boii_UI keydrop 之间选择用于搜索区域

依赖​

如果您不使用 ps-ui 或 boii_ui 进行锁定选择或搜索,那么您将需要默认依赖项
qb-lockpick: GitHub - qbcore-framework/qb-lockpick: Lockpick Mini-Game For QB-Core 6
qb-skillbar: GitHub - qbcore-framework/qb-skillbar: Skill Bar For QB-Core

支持的脚本​

如果您不想使用默认的 qb-lockpick 或 qb-skillbar 进行开锁或搜索,您可以下载以下任何一个并使用它们
小游戏:
警方警报:

配置预览:​

lua:
Config.MinZOffset = 45

Config.MinimumHouseRobberyPolice = 0 -- minimum amount of police required for house robberies

Config.PoliceNotifyType = 'qb' --support for qb police notification and ps-dispatch. change to 'ps' for ps-dispatch

Config.MinimumTime = 5 -- past this time players are able to start house robberies
Config.MaximumTime = 22 -- past this time players are unable to start house robberies


Config.MiniGameSettings = {

    LockPicking = {      
        Type = 'lockpick', --type of minigame when lockpicking doors.  [default is lockpick]
        --use 'lockpick' for qb-lockpick [doesnt have any settings below as its an inbuilt function of qb-lockpick]
        --use 'ps-ui' for ps-ui skillcircle. adjust settings below accordingly for correct minigame type
        --use 'keydrop' for boii_ui keydrop. adjust settings below accordingly for correct minigame type
       
        SkillCircle = {
            Circles = 5, -- amount of circles required to complete minigame
            Time = 10, -- amount of time in MS given to complete minigame
        },

        KeyDrop = {
            ScoreLimit = 5, --the amount of correct keypresses for success
            MissLimit = 2, --the amount of incorrect keypresses for failure
            FallDelay = 3000, --amount of time taken for letters to fall in ms
            NewLetterDelay = 2000, --amount of time take for a new letter to begin to fall
        },
    },

    Searching = {

        Type = 'skillbar', --type of minigame when lockpicking doors.  [default is skillbar]
        --use 'skillbar' for qb-skillbar. adjust settings below accordingly for correct minigame type
        --use 'ps-ui' for ps-ui skillcircle. adjust settings below accordingly for correct minigame type
        --use 'keydrop' for boii_ui keydrop. adjust settings below accordingly for correct minigame type

        SkillBar = { --if MiniGameType = skillbar then edit settings below for searhing locations for items
            Start = {
                SkillBarDuration = math.random(7500, 15000),
                SkillBarPosition = math.random(10, 30),
                SkillBarWidth = math.random(10, 20),
            },
            Repeat = {
                SkillBarDuration = math.random(700, 1250),
                SkillBarPosition = math.random(10, 40),
                SkillBarWidth = math.random(10, 13),
            },
        },  
        SkillCircle = { --if MiniGameType = skillcircle then edit settings below for searhing locations for items
            Circles = 5, -- amount of circles required to complete minigame
            Time = 10, -- amount of time in MS given to complete minigame
        },
        KeyDrop = { --if MiniGameType = keydrop then edit settings below for searhing locations for items

            ScoreLimit = 5, --the amount of correct keypresses for success
            MissLimit = 2, --the amount of incorrect keypresses for failure
            FallDelay = 3000, --amount of time taken for letters to fall in ms
            NewLetterDelay = 2000, --amount of time take for a new letter to begin to fall
        },
    },  
}



Config.Rewards = { -- rewards pool for tiers, adjust to your server needs

    Tiers = {
        [1] = {
            ["cabin"] = {"diamond_ring", "goldchain", "weed_skunk", "bandage", "beer", "fitbit"},
            ["kitchen"] = {"10kgoldchain", "rolex", "goldchain", "goldbar", "diamond_ring", "rifle_ammo"},
            ["chest"] = {"rolex", "diamond_ring", "goldchain", "weed_skunk", "lighter", "phone"},
            ["livingroom"] = {"weed_ak47", "rolex", "diamond_ring", "goldchain", "tablet", "pistol_ammo", "radio"},
        },
        [2] = {
            ["cabin"] = {"diamond_ring", "goldchain", "weed_skunk", "bandage", "beer", "fitbit"},
            ["kitchen"] = {"10kgoldchain", "rolex", "goldchain", "goldbar", "diamond_ring", "rifle_ammo"},
            ["chest"] = {"rolex", "diamond_ring", "goldchain", "weed_skunk", "lighter", "phone"},
            ["livingroom"] = {"weed_ak47", "rolex", "diamond_ring", "goldchain", "tablet", "pistol_ammo", "radio"},
        },
        [3] = {
            ["cabin"] = {"diamond_ring", "goldchain", "weed_skunk", "bandage", "beer", "fitbit"},
            ["kitchen"] = {"10kgoldchain", "rolex", "goldchain", "goldbar", "diamond_ring", "rifle_ammo"},
            ["chest"] = {"rolex", "diamond_ring", "goldchain", "weed_skunk", "lighter", "phone"},
            ["livingroom"] = {"weed_ak47", "rolex", "diamond_ring", "goldchain", "tablet", "pistol_ammo", "radio"},
        },
    },      
   
}

下载:​

 
顶部