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

翻译 保留源代码

[复制链接]
杰瑞米瓦德 发表于 2024-9-24 02:52:24 | 显示全部楼层 |阅读模式
https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
local esxHas = GetResourceState('es_extended') == 'started'https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z
local qbHas = GetResourceState('qb-core') == 'started'https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
https://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R
Config.Framework = esxHas and 'esx' or qbHas and 'qb' or 'esx'https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
--[[https://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L
    Target systems pre-configured by default:
https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz

        'qb-target'https://pan.baidu.com/s/7Z8A9B0C1D2E3F4G5H6I
        'ox_target'
  • https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr

  • https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
            'none' It means that it is deactivated
  • https://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R

  • https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
    https://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H

    Config.UseTarget = 'none'                -- Choose between 'qb-target', 'ox_target' or 'none' disabled!https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
    https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
    Config.BlockedSwap = false               -- If set to true, you will not be able to swap between itemshttps://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
    Config.BlockedSlot = false               -- This is the sixth slot, the one that does not allow them to steal from that space
    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh

    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/9R0S1T2U3V4W5X6Y7Z8A
    Config.OpeingProgressBar = false         -- Please set this set to true to avoid dupes

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

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


    https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
    Config.Handsup = true                    -- Enable or disable Handsup and Robbery buttonhttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
    Config.StealDeadPlayer = true            -- Steal from dead players?https://pan.baidu.com/s/9K0L1M2N3O4P5Q6R7S8T
    Config.StealWithoutWeapons = false       -- Possibility to draw only if the target player raises his arms (without weapons)https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
    Config.DropItemWhenInventoryFull = false -- Drop the item when the inventory is fully不影响正文阅读
    https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
    Config.InventoryWeight = {               -- Configuration of maximum weight and maximum slots of the player
  • https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6

  •     ['weight'] = 120000,https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X
        --- 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/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
        ['slots'] = 41, -- If you want to remove the 6 slot, use 40 here!https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
    }
    https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst

    https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6

    Config.DropWeight = { -- Configuration of maximum weight and maximum slots of the player
    https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3

        ['weight'] = 20000000,

    https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6


        ['slots'] = 130,  -- If you want to remove the 6 slot, use 40 here! (Max 100)https://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
    }https://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
    https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C
    Config.LabelChange = true       -- Enable or disable this function herehttps://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
    Config.LabelChangePrice = false -- Set prince or false
  • https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z

  • Config.BlockedLabelChangeItems = {https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
        ['money'] = true,https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
        ['phone'] = true,https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K
    }
    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9

    https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1


    Config.UsableItemsFromHotbar = true -- Can the items be used with the hotbar? (1, 2, 3, 4, 5)https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
    Config.BlockedItemsHotbar = {       -- Items that you can not use from hotbar, only from the inventory

    https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0

    https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9


        'lockpick',https://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L
        -- Add more elements here if necessaryhttps://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
    }https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
    --[[https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
        Hello, you do, the one who uses qs-backpack. You have
    https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J

        all the backpacks in server/custom/misc/UniqueItem.lua,https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
        there is a list of backpacks, all the ones you see there
    https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q

        will count as a single item called 'backpack', so if youhttps://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
        have a backpack2, it will count as a backpack, that is say,https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
        a single backpack per player. If you need to edit somethinghttps://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr
        you already know where the corresponding function is!
  • https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z

  • dweytlwyiqtnigxscttzbrfedti
    https://pan.baidu.com/s/6O7P8Q9R0S1T2U3V4W5X
    Config.OnePerItem = { -- Items that cannot be sent to your inventory (item = max amount)https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
        ['backpack'] = 1,
    https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz

        -- Add more elements here if necessary
    https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P

    }https://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
  • https://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M

  • Config.notStolenItems = {https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
        ['id_card'] = true,

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


        ['water_bottle'] = true,https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
        ['tosti'] = truehttps://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z
    }https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K
    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
    Config.notStoredItems = {alodiscbeyzmpszxzxqcqkb
        ['backpack'] = true,
  • https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop

  • }
    https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3

    https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
    -- If you enable this in true check the docshttps://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
    -- ESX: https://docs.quasar-store.com/ Inventory > Functions > Clothinghttps://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
    -- QB: https://docs.quasar-store.com/jqymqkcuiagqgdivtiakhjtcrpp
    Config.Clothing = true                         -- Disable clothing system, this will disable the button toohttps://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
    Config.TakePreviousClothes = true              -- Set whether you want previous clothes to go to your inventory or be removed
    https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc

    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
    Config.ItemDropObject = `prop_paper_bag_small` -- or false
    https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn

    Config.DropRefreshTime = 15 * 60
    https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V

    Config.MaxDropViewDistance = 9.5https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
    https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz

    Config.Genders = { -- You can ignore thishttps://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
        ['m'] = 'Male',

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


        ['f'] = 'Female',https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
        [1] = 'Male',https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
        [2] = 'Female'https://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
    }https://pan.baidu.com/s/9K0L1M2N3O4P5Q6R7S8T

    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3 不影响正文阅读


    --[[https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F
        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/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
        the logo or even the icons within the item information.
  • https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv

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

        InventoryOptions are the boxes that you see on the sides of thehttps://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
        inventory, enable or disable them as you want.
    https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V

    https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H?pwd=klm2 https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B?pwd=tuv6


        Regarding the genres of Default config, it is for clothes,https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
        configure it as you wish, if you have custom clothes, you shouldhttps://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V
        touch that configuration a lot.https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
  • https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl

  • https://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E
    Config.OpenInventoryAnim = true   -- Enable or disable ped animationhttps://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
    Config.OpenInventoryScene = false -- Inventory animation enabled or disabled
    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N

    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/8H9I0J1K2L3M4N5O6P7Q
    Config.IdleCamera = true          -- Disable or enable idle camera!https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
    https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
    Config.InventoryOptions = {https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
        -- Generic menuhttps://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh
        ['clothes'] = Config.Clothing, -- Enable or disable in Config.Clothing.

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

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


        ['configuration'] = true,https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
        -- Left menu
    https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3

        ['health'] = true,https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
        ['armor'] = true,https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
        ['hunger'] = true,https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
        ['thirst'] = true,
  • https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl

  •     -- Right menu

    https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1


        ['id'] = true,sfsilqbmwjuohabsziwthvwhxfwuuernkkvvawixgdmndngd
        ['money'] = true,https://pan.baidu.com/s/7Y8Z9A0B1C2D3E4F5G6H
        ['bank'] = true,https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7
        ['blackmoney'] = true,
    https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8

    }sfsilqbmwjuohabsziwthvwhxfwuuernkkvvawixgdmndngd
    https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
    -- https://fontawesome.com/

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


    -- In this section we can give custom icons to the info of the items
  • https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U

  • Config.getItemicons = {
    https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5

        ['tosti'] = {

    https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4


            icon = 'fa-solid fa-utensils',https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
        },https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
        ['water_bottle'] = {

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

    https://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R


            icon = 'fa-solid fa-utensils',https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
        },https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
    }
  • https://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R

  • https://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
    -- In case of using custom clothing, modify herehttps://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
    Config.Defaults = {

    哈哈 https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W


        ['female'] = {

    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3

    https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z


            torso = 15,https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
            jeans = 14,https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
            shoes = 45,https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
            arms = 15,alodiscbeyzmpszxzxqcqkb
            helmet = -1,https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K
            glasses = -1,

    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3

    https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E


            mask = 0,
    https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3

            tshirt = -1,https://pan.baidu.com/s/8R0S1T2U3V4W5X6Y7Z8A
            ears = -1,https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
            bag = 0,不影响正文阅读
        },https://pan.baidu.com/s/4F5G6H7I8J9K0L1M2N3O
        ['male'] = {
    https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz

            torso = 15,
  • https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M

  •         jeans = 14,https://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R
            shoes = 45,https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
            arms = 15,https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F
            helmet = -1,
    https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8

            glasses = -1,
    https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4

            mask = 0,https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
            tshirt = 15,https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M
            ears = -1,https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
            bag = 0,https://pan.baidu.com/s/1K2L3M4N5O7P8Q9R0S1T
        }
  • https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst

  • }
  • https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv

  • https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6

  • Config.KeyBinds = { -- They are keymaps, check the docs to know how they work!https://pan.baidu.com/s/6P8Q9R0S1T2U3V4W5X6Y
        ['inventory'] = 'TAB',https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
        ['hotbar'] = 'Z',https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
        ['reload'] = 'R',
    https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst

        ['handsup'] = 'X',https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9
    }gqbaervzmsocjzltbdampdyxlhgxsopzfrzjiuivnxyw
  • https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst

  • --[[https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
        Debug mode, you can see all kinds of prints/logs using debug,
    https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst

        but it's only for development.https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
    https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P
    https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L?pwd=wxy6

    Config.Debug = false                 -- Do not touch here if you are not a developerhttps://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
    Config.ZoneDebug = false             -- Do not touch here if you are not a developerhttps://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
    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/7G8H9I0J1K2L3M4N5O6P?pwd=yza1

  • https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
    https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1
    https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
    https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4 https://pan.baidu.com/s/1S2T3U4V5W6X7Y8Z9A0B?pwd=tuv6
    https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1

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

    https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
    [发帖际遇]: 杰瑞米瓦德 乐于助人,奖励 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 04:06 , Processed in 0.074770 second(s), 10 queries , Gzip On, Redis On.

    Powered by Discuz! X3.4

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

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