搜索
查看: 31|回复: 1
收起左侧

翻译 保留源代码

[复制链接]
杰瑞米瓦德 发表于 2024-9-24 02:52:24 | 显示全部楼层 |阅读模式
https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
local esxHas = GetResourceState('es_extended') == 'started'https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
local qbHas = GetResourceState('qb-core') == 'started'https://pan.baidu.com/s/2U3V4W5X6Y7Z8A9B0C1D
https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij

Config.Framework = esxHas and 'esx' or qbHas and 'qb' or 'esx'
https://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L

https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
--[[
https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1

    Target systems pre-configured by default:
  • daksedquax

  •         'qb-target'https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
            'ox_target'哈哈
    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
            'none' It means that it is deactivated

    https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7

  • https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2

  • https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=bcd1
    https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0

    Config.UseTarget = 'none'                -- Choose between 'qb-target', 'ox_target' or 'none' disabled!
    https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij

    https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
    Config.BlockedSwap = false               -- If set to true, you will not be able to swap between items

    https://pan.baidu.com/s/6P8Q9R0S1T2U3V4W5X6Y https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y


    Config.BlockedSlot = false               -- This is the sixth slot, the one that does not allow them to steal from that spacehttps://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
    Config.GiveItemHideName = true          -- If you enable this, then the player will not be able to see names in giveitem, only idhttps://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R
    Config.OpeingProgressBar = false         -- Please set this set to true to avoid dupeshttps://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
    https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
    Config.Handsup = true                    -- Enable or disable Handsup and Robbery button
    https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z

    Config.StealDeadPlayer = true            -- Steal from dead players?
  • https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M

  • Config.StealWithoutWeapons = false       -- Possibility to draw only if the target player raises his arms (without weapons)https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
    Config.DropItemWhenInventoryFull = false -- Drop the item when the inventory is fully
  • https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0

  • https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
    Config.InventoryWeight = {               -- Configuration of maximum weight and maximum slots of the playerhttps://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
        ['weight'] = 120000,https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
        --- CAUTION: If you change this value after the anyone has items. It will cause dupe problems. So don't forget to wipe all the inventories.
  • https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S

  •     ['slots'] = 41, -- If you want to remove the 6 slot, use 40 here!
    https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij

    }
    https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0

  • https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F

  • Config.DropWeight = { -- Configuration of maximum weight and maximum slots of the playerhttps://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
        ['weight'] = 20000000,
    https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E

        ['slots'] = 130,  -- If you want to remove the 6 slot, use 40 here! (Max 100)
    https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5

    }https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
  • daksedquax

  • Config.LabelChange = true       -- Enable or disable this function here
  • https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C

  • Config.LabelChangePrice = false -- Set prince or false

    https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G

    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O


    Config.BlockedLabelChangeItems = {https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
        ['money'] = true,https://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E
        ['phone'] = true,https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
    }
    https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N

    https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn


    Config.UsableItemsFromHotbar = true -- Can the items be used with the hotbar? (1, 2, 3, 4, 5)
    https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U

    Config.BlockedItemsHotbar = {       -- Items that you can not use from hotbar, only from the inventoryhttps://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
        'lockpick',https://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
        -- Add more elements here if necessaryoqehhfacgepnlsostgzuz
    }

    https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh


    不影响正文阅读
    --[[
    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2

        Hello, you do, the one who uses qs-backpack. You havehttps://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
        all the backpacks in server/custom/misc/UniqueItem.lua,
  • https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5

  •     there is a list of backpacks, all the ones you see there
    https://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L

        will count as a single item called 'backpack', so if you
    https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5

        have a backpack2, it will count as a backpack, that is say,https://pan.baidu.com/s/9B0C1D2E3F4G5H6I7J8K
        a single backpack per player. If you need to edit somethinghttps://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
        you already know where the corresponding function is!
    https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H

    https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
    https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
    Config.OnePerItem = { -- Items that cannot be sent to your inventory (item = max amount)https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
        ['backpack'] = 1,
  • https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C

  •     -- Add more elements here if necessaryhttps://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
    }zzbhiazwyeszvqzqsqatubdmggdbhargasojtogrsyr
    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
    Config.notStolenItems = {
  • https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J

  •     ['id_card'] = true,
    https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H

        ['water_bottle'] = true,

    https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0

    https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9


        ['tosti'] = true
  • https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0

  • }
    https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T

    https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1

    https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9


    Config.notStoredItems = {https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W
        ['backpack'] = true,https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
    }
  • https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F

  • https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
    -- If you enable this in true check the docs

    https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G

    https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9


    -- ESX: https://docs.quasar-store.com/ Inventory > Functions > Clothinghttps://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
    -- QB: https://docs.quasar-store.com/https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
    Config.Clothing = true                         -- Disable clothing system, this will disable the button too
  • https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F

  • Config.TakePreviousClothes = true              -- Set whether you want previous clothes to go to your inventory or be removedzzbhiazwyeszvqzqsqatubdmggdbhargasojtogrsyr
    https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H

    Config.ItemDropObject = `prop_paper_bag_small` -- or falsehttps://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
    Config.DropRefreshTime = 15 * 60https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2
    Config.MaxDropViewDistance = 9.5https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
  • https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z

  • Config.Genders = { -- You can ignore thishttps://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
        ['m'] = 'Male',oqehhfacgepnlsostgzuz
        ['f'] = 'Female',https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X?pwd=hij2
        [1] = 'Male',https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
        [2] = 'Female'https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
    }https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
    https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
    --[[
    https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5

        Visual configuration of the resource!
    https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7

        Here you can configure the animation to open the inventory,
  • https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx

  •     the logo or even the icons within the item information.https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
    https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N

        InventoryOptions are the boxes that you see on the sides of the不影响正文阅读
        inventory, enable or disable them as you want.
  • https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J

  • https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T

        Regarding the genres of Default config, it is for clothes,https://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
        configure it as you wish, if you have custom clothes, you shouldhttps://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
        touch that configuration a lot.https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J?pwd=qrs4
    https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J
    https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
    Config.OpenInventoryAnim = true   -- Enable or disable ped animation
    https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij

    Config.OpenInventoryScene = false -- Inventory animation enabled or disabledhttps://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V
    Config.Logo = false               -- You can use directory, like './icons/logo.png' or 'https://i.ibb.co/CJfj6KV/Mini-copia.png' (if not, use false)
    https://pan.baidu.com/s/1L2M3N4O5P6Q7R8S9T0U

    Config.IdleCamera = true          -- Disable or enable idle camera!https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
    https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7

    Config.InventoryOptions = {https://pan.baidu.com/s/9K0L1M2N3O4P5Q6R7S8T
        -- Generic menuhttps://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
        ['clothes'] = Config.Clothing, -- Enable or disable in Config.Clothing.https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
        ['configuration'] = true,
  • https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C

  •     -- Left menuuuoctntualbnjjlejgauokgojeymhdn
        ['health'] = true,https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
        ['armor'] = true,https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
        ['hunger'] = true,

    yvzuvkijmzyxkdce

    https://pan.baidu.com/s/6P8Q9R0S1T2U3V4W5X6Y


        ['thirst'] = true,
  • https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B

  •     -- Right menu
    https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0

        ['id'] = true,https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
        ['money'] = true,
    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2

        ['bank'] = true,oqehhfacgepnlsostgzuz
        ['blackmoney'] = true,https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
    }https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
    -- https://fontawesome.com/
    https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef

    -- In this section we can give custom icons to the info of the items
    不要乱来哦

    Config.getItemicons = {
    https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef

        ['tosti'] = {
    https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1

            icon = 'fa-solid fa-utensils',
    https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U

        },https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
        ['water_bottle'] = {https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
            icon = 'fa-solid fa-utensils',https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
        },https://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
    }https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
    https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T

    -- In case of using custom clothing, modify herehttps://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
    Config.Defaults = {
    这是干扰码

        ['female'] = {https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1
            torso = 15,https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
            jeans = 14,
    https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X

            shoes = 45,
    https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8

            arms = 15,

    https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr


            helmet = -1,https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
            glasses = -1,
    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2

            mask = 0,https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
            tshirt = -1,https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
            ears = -1,https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
            bag = 0,https://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
        },
  • https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst

  •     ['male'] = {

    https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop


            torso = 15,

    https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9

  • https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc

  •         jeans = 14,https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
            shoes = 45,https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
            arms = 15,https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
            helmet = -1,https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
            glasses = -1,
  • https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C

  •         mask = 0,https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
            tshirt = 15,

    https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7 https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X


            ears = -1,
    https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0

            bag = 0,https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J
        }https://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V
    }

    https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst

    https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2


    https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4 https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N


    Config.KeyBinds = { -- They are keymaps, check the docs to know how they work!https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
        ['inventory'] = 'TAB',
    https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H

        ['hotbar'] = 'Z',https://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W
        ['reload'] = 'R',https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
        ['handsup'] = 'X',https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L
    }
  • https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5

  • https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M

  • --[[
  • https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R

  •     Debug mode, you can see all kinds of prints/logs using debug,https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I
        but it's only for development.
    https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5

    https://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L

    https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
    Config.Debug = false                 -- Do not touch here if you are not a developerhttps://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6
    Config.ZoneDebug = false             -- Do not touch here if you are not a developerzzbhiazwyeszvqzqsqatubdmggdbhargasojtogrsyr
    Config.InventoryPrefix = 'inventory' -- Do not touch here if you are not a developer (if you use this you need to modify many more things)https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
    https://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
    https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
    https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L
    https://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
    https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P
  • https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S
  • https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
  • [发帖际遇]: 杰瑞米瓦德 乐于助人,奖励 40 贡献. 幸运榜 / 衰神榜
    回复 论坛版权

    使用道具 举报

    ChatGPT 发表于 2024-9-24 02:52:50 | 显示全部楼层
    local esxHas = GetResourceState('es_extended') == 'started' -- 检查 es_extended 资源是否已启动
    local qbHas = GetResourceState('qb-core') == 'started' -- 检查 qb-core 资源是否已启动
    
    Config.Framework = esxHas and 'esx' or qbHas and 'qb' or 'esx' -- 设置框架为 esx 或 qb
    
    --[[ 
        默认预配置的目标系统:
            'qb-target'
            'ox_target'
    
            'none' 表示已停用
    ]]
    
    Config.UseTarget = 'none'                -- 选择 'qb-target'、'ox_target' 或 'none' 禁用!
    
    Config.BlockedSwap = false               -- 如果设置为 true,将无法在物品之间交换
    Config.BlockedSlot = false               -- 这是第六个槽,不允许从该空间偷窃
    Config.GiveItemHideName = true          -- 如果启用,玩家将无法在给物品时看到名称,只能看到 ID
    Config.OpeingProgressBar = false         -- 请将此设置为 true 以避免重复物品
    
    Config.Handsup = true                    -- 启用或禁用举手和抢劫按钮
    Config.StealDeadPlayer = true            -- 是否可以从死去的玩家身上偷东西?
    Config.StealWithoutWeapons = false       -- 只有当目标玩家举起手臂(没有武器)时才能进行偷窃
    Config.DropItemWhenInventoryFull = false -- 当库存满时丢弃物品
    
    Config.InventoryWeight = {               -- 玩家最大重量和最大槽位的配置
        ['weight'] = 120000,
        --- 注意:如果在任何人拥有物品后更改此值,将会导致重复问题。因此,请不要忘记清空所有库存。
        ['slots'] = 41, -- 如果要移除第六个槽,请在这里使用 40!
    }
    
    Config.DropWeight = { -- 玩家最大重量和最大槽位的配置
        ['weight'] = 20000000,
        ['slots'] = 130,  -- 如果要移除第六个槽,请在这里使用 40!(最大 100)
    }
    
    Config.LabelChange = true       -- 启用或禁用此功能
    Config.LabelChangePrice = false -- 设置价格或 false
    Config.BlockedLabelChangeItems = {
        ['money'] = true,
        ['phone'] = true,
    }
    
    Config.UsableItemsFromHotbar = true -- 可以使用热键栏中的物品吗?(1, 2, 3, 4, 5)
    Config.BlockedItemsHotbar = {       -- 不能从热键栏使用的物品,只能从库存中使用
        'lockpick',
        -- 如有必要,请在此添加更多元素
    }
    
    --[[ 
        你好,你使用 qs-backpack 的人。你有
        所有背包在 server/custom/misc/UniqueItem.lua 中,
        那里有一个背包列表,所有你看到的背包
        将被视为一个名为 'backpack' 的单一物品,因此如果你
        有 backpack2,它将被视为一个背包,也就是说,
        每个玩家只能有一个背包。如果你需要编辑某些内容
        你已经知道相应的功能在哪里!
    ]]
    
    Config.OnePerItem = { -- 不能发送到库存的物品(物品 = 最大数量)
        ['backpack'] = 1,
        -- 如有必要,请在此添加更多元素
    }
    
    Config.notStolenItems = {
        ['id_card'] = true,
        ['water_bottle'] = true,
        ['tosti'] = true
    }
    
    Config.notStoredItems = {
        ['backpack'] = true,
    }
    
    -- 如果将此设置为 true,请查看文档
    -- ESX: https://docs.quasar-store.com/ Inventory > Functions > Clothing
    -- QB: https://docs.quasar-store.com/
    Config.Clothing = true                         -- 禁用服装系统,这将禁用按钮
    Config.TakePreviousClothes = true              -- 设置是否希望将之前的衣物放入库存或移除
    
    Config.ItemDropObject = `prop_paper_bag_small` -- 或 false
    Config.DropRefreshTime = 15 * 60
    Config.MaxDropViewDistance = 9.5
    
    Config.Genders = { -- 你可以忽略这个
        ['m'] = '男性',
        ['f'] = '女性',
        [1] = '男性',
        [2] = '女性'
    }
    
    --[[ 
        资源的视觉配置!
        在这里你可以配置打开库存的动画,
        logo 或甚至物品信息中的图标。
    
        InventoryOptions 是你在库存两侧看到的框,
        根据需要启用或禁用它们。
    
        关于默认配置的性别,这是针对服装的,
        根据你的需要进行配置,如果你有自定义服装,
        你应该多多调整该配置。
    ]]
    
    Config.OpenInventoryAnim = true   -- 启用或禁用角色动画
    Config.OpenInventoryScene = false -- 库存动画启用或禁用
    Config.Logo = false               -- 你可以使用目录,例如 './icons/logo.png' 或 'https://i.ibb.co/CJfj6KV/Mini-copia.png'(如果没有,请使用 false)
    Config.IdleCamera = true          -- 启用或禁用闲置摄像机!
    
    Config.InventoryOptions = {
        -- 通用菜单
        ['clothes'] = Config.Clothing, -- 在 Config.Clothing 中启用或禁用。
        ['configuration'] = true,
        -- 左侧菜单
        ['health'] = true,
        ['armor'] = true,
        ['hunger'] = true,
        ['thirst'] = true,
        -- 右侧菜单
        ['id'] = true,
        ['money'] = true,
        ['bank'] = true,
        ['blackmoney'] = true,
    }
    
    -- https://fontawesome.com/
    -- 在此部分我们可以为物品信息提供自定义图标
    Config.getItemicons = {
        ['tosti'] = {
            icon = 'fa-solid fa-utensils',
        },
        ['water_bottle'] = {
            icon = 'fa-solid fa-utensils',
        },
    }
    
    -- 如果使用自定义服装,请在此修改
    Config.Defaults = {
        ['female'] = {
            torso = 15,
            jeans = 14,
            shoes = 45,
            arms = 15,
            helmet = -1,
            glasses = -1,
            mask = 0,
            tshirt = -1,
            ears = -1,
            bag = 0,
        },
        ['male'] = {
            torso = 15,
            jeans = 14,
            shoes = 45,
            arms = 15,
            helmet = -1,
            glasses = -1,
            mask = 0,
            tshirt = 15,
            ears = -1,
            bag = 0,
        }
    }
    
    Config.KeyBinds = { -- 这些是键位映射,请查看文档以了解它们的工作原理!
        ['inventory'] = 'TAB',
        ['hotbar'] = 'Z',
        ['reload'] = 'R',
        ['handsup'] = 'X',
    }
    
    --[[ 
        调试模式,你可以使用调试查看各种打印/日志,
        但这仅用于开发。
    
    Config.Debug = false                 -- 如果你不是开发者,请不要触碰这里
    Config.ZoneDebug = false             -- 如果你不是开发者,请不要触碰这里
    Config.InventoryPrefix = 'inventory' -- 如果你使用此项,你需要修改更多内容,请不要触碰这里
    回复

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    QQ|Archiver|小黑屋|首页 ( 冀ICP备2021005225号-1 ) |网站地图

    GMT+8, 2024-11-25 03:30 , Processed in 0.248322 second(s), 10 queries , Gzip On, Redis On.

    Powered by Discuz! X3.4

    © 2001-2013 ELITE论坛【技术无价-分享快乐】

    快速回复 返回顶部 返回列表