2 评论

0 收藏

分享

[未解决] OX背包如何修改快捷键

开启左侧
https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
我想把打开背包快捷键改成TAB,在这个文件修改了,为什么没生效,是还需要修改其他地方吗https://pan.baidu.com/s/3E4F5G6H7I8J9K0L1M2N
image.png https://pan.baidu.com/s/4L5M6N7O8P9Q0R1S2T3U?pwd=stuv
我知道答案 回答被采纳将会获得 5 贡献 + 2 贡献 已有2人回答
https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S
https://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M

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

https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7
论坛版权 回复

举报 使用道具

全部回复 (2)
查看全部
本帖最后由 Lin. 于 2024-8-1 01:14 编辑

Ox Inventory - Documentation (overextended.dev)
放入cfg 更改setr inventory:keys ["F2", "K", "TAB"] # 默认热键,用于访问主要和次要库存,以及热键栏
### Shared
 
# 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 false
 
# 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 [249]
 
# 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
 
# Toggle weapon item notifications (equip/holster)
setr inventory:weaponnotify 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 true
 
# 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 true
 
# 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
# [item name, minimum, maximum, loot chance]
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"]
收起

收起回复
bb1 2024-8-1 12:56
回复 举报
设置了,但是进入游戏还是原来的F2打开,我想要TAB打开

举报 回复 使用道具

你需要在背包的配置的修改按键后 进入游戏按键里修改 因为配置里的按键是给刚下载fivem的新人的 你进入过游戏 有缓存 需要游戏里面修改 或者删掉fivem重新下载
收起回复
Lin. 2024-8-4 23:11
回复 举报
删掉这个文件 重置按键

举报 回复 使用道具

文明发言,和谐互动
文明发言,和谐互动
bb1
【初级】技术学习