a1156439341 发表于 2024-7-17 11:52:22

翻译


# Activate specific event handlers and functions (supported: ox, esx, qb, nd)
setr inventory:framework "esx"

# Number of slots for player inventories
setr inventory:slots 50

# Maximum carry capacity for players, in grams (frameworks may override this)
setr inventory:weight 30000

# Integrated support for qtarget/ox_target stashes, shops, etc
# Note: qtarget is deprecated, a future update may drop support (ox_target only, or gated features)
setr inventory:target true

# Jobs with access to police armoury, evidence lockers, etc
setr inventory:police ["police", "sheriff"]

### Client

# The URL to load item images from
setr inventory:imagepath "nui://ox_inventory/web/images"

# Weapons will reload after reaching 0 ammo
setr inventory:autoreload false

# Blur the screen while accessing the inventory
setr inventory:screenblur true

# Default hotkeys to access primary and secondary inventories, and hotbar
setr inventory:keys ["F2", "K", "TAB"]

# Enable control action when inventory is open
setr inventory:enablekeys

# Weapons must be aimed before shooting
setr inventory:aimedfiring false

# Show a list of all nearby players when giving items
setr inventory:giveplayerlist false

# Toggle weapon draw/holster animations
setr inventory:weaponanims true

# Toggle item notifications (add/remove)
setr inventory:itemnotify true

# Disable drop markers and spawn a prop instead
setr inventory:dropprops true

# Set the default model used for drop props
setr inventory:dropmodel "prop_med_bag_01b"

# Disarm the player if an unexpected weapon is in use (i.e. did not use the weapon item)
setr inventory:weaponmismatch true

# Ignore weapon mismatch checks for the given weapon type (e.g. ['WEAPON_SHOVEL', 'WEAPON_HANDCUFFS'])
setr inventory:ignoreweapons []

# Suppress weapon and ammo pickups
setr inventory:suppresspickups 1

### Server

# Compare current version to latest release on GitHub
set inventory:versioncheck false

# Stashes will be wiped after remaining unchanged for the given time
set inventory:clearstashes "6 MONTH"

# Discord webhook url, used for imageurl metadata content moderation (image embeds)
set inventory:webhook ""

# Logging via ox_lib (0: Disable, 1: Standard, 2: Include AddItem/RemoveItem, and all shop purchases)
set inventory:loglevel 1

# Item prices fluctuate in shops
set inventory:randomprices false

# Loot will randomly generate inside unowned vehicles and dumpsters
set inventory:randomloot true

# Minimum job grade to remove items from evidence lockers
set inventory:evidencegrade 2

# Trim whitespace from vehicle plates when checking owned vehicles
setr inventory:trimplate true

# Set the contents of randomly generated inventories
#
set inventory:vehicleloot [
    ["cola", 1, 1],
    ["water", 1, 1],
    ["garbage", 1, 2, 50],
    ["panties", 1, 1, 5],
    ["money", 1, 50],
    ["money", 200, 400, 5],
    ["bandage", 1, 1]
]

set inventory:dumpsterloot [
    ["mustard", 1, 1],
    ["garbage", 1, 3],
    ["money", 1, 10],
    ["burger", 1, 1]
]

# Set items to sync with framework accounts
set inventory:accounts ["money"]

a1156439341 发表于 2024-7-17 11:54:33

在后边标注意思

ChatGPT 发表于 2024-7-23 12:03:51

以下是您提供的配置文件的中文翻译:

# 激活特定的事件处理程序和功能(支持:ox、esx、qb、nd)
setr inventory:framework "esx"

# 玩家库存的槽位数量
setr inventory:slots 50

# 玩家最大携带能力,以克为单位(框架可能会覆盖此设置)
setr inventory:weight 30000

# 集成对 qtarget/ox_target 储藏室、商店等的支持
# 注意:qtarget 已被弃用,未来的更新可能会停止支持(仅 ox_target,或限制功能)
setr inventory:target true

# 有权访问警察军械库、证据储物柜等的职位
setr inventory:police

### 客户端

# 加载物品图片的 URL
setr inventory:imagepath "nui://ox_inventory/web/images"

# 武器在达到 0 子弹后会重新装填
setr inventory:autoreload false

# 访问库存时模糊屏幕
setr inventory:screenblur true

# 访问主要和次要库存及快捷条的默认热键
setr inventory:keys

# 当库存打开时启用控制操作
setr inventory:enablekeys

# 武器必须瞄准后才能射击
setr inventory:aimedfiring false

# 在给予物品时显示所有附近玩家的列表
setr inventory:giveplayerlist false

# 切换武器拔出/收回动画
setr inventory:weaponanims true

# 切换物品通知(添加/移除)
setr inventory:itemnotify true

# 禁用掉落标记并生成道具
setr inventory:dropprops true

# 设置用于掉落道具的默认模型
setr inventory:dropmodel "prop_med_bag_01b"

# 如果使用了意外的武器(即未使用武器物品),则使玩家解除武装
setr inventory:weaponmismatch true

# 忽略给定武器类型的武器不匹配检查(例如)
setr inventory:ignoreweapons

# 抑制武器和弹药的捡拾
setr inventory:suppresspickups 1

### 服务器

# 比较当前版本与 GitHub 上的最新版本
set inventory:versioncheck false

# 储藏室在保持不变的情况下将在给定时间后清空
set inventory:clearstashes "6 MONTH"

# Discord webhooks URL,用于图像元数据内容审核(图像嵌入)
set inventory:webhook ""

# 通过 ox_lib 记录日志(0:禁用,1:标准,2:包括 AddItem/RemoveItem 和所有商店购买)
set inventory:loglevel 1

# 商店中的物品价格波动
set inventory:randomprices false

# 随机生成的战利品将在无人拥有的车辆和垃圾箱中出现
set inventory:randomloot true

# 从证据储物柜中取出物品所需的最低职位等级
set inventory:evidencegrade 2

# 检查拥有的车辆时修剪车牌的空格
setr inventory:trimplate true

# 设置随机生成的库存的内容
#
set inventory:vehicleloot [
    ,
    ,
    ,
    ,
    ,
    ,
]

set inventory:dumpsterloot [
    ,
    ,
    ,
]

# 设置与框架账户同步的物品
set inventory:accounts

如果您有其他问题或者需要进一步的帮助,请随时告诉我!
页: [1]
查看完整版本: 翻译