v3.0.2 parche
Keyboard on the pause map, key bind filters and better ox_inventory compatibility
9cambios

Keyboard on the pause map, key bind filters and better ox_inventory compatibility
9cambios

[02] Versión
The pause map can now be browsed with the arrow keys, remembers place names between sessions and can open straight on the realistic view with ESC. Key bindings get filters, inventories saved by qs-core or plain ESX load correctly, and many ox_inventory exports now behave like the real ones, CustomDrop included.
config/ folder as it is.Coming from qs-core or plain ESX. Inventories saved by the qs-core basic inventory or by ESX without an inventory resource now load into qs-inventory with every item, each in its own slot.
ox_inventory scripts. AddItem and RemoveItem take the slot, GetItem returns the ox format (or the count), Search answers slots and lists of items, and CustomDrop now creates a real drop. Scripts written for ox_inventory need fewer changes.
Open the realistic map with ESC is a player setting (Settings → Display), off by default. It needs Realistic map (3D) on.
Replace every file in the resource, except what you edited yourself:
client/custom/framework/esx.lua — only a leftover test command was removed. If you edited the file, you can keep yours.client/custom/provider/ox-inventory.lua changed. If you edited it, copy your changes onto the new file.locales/ — en.json and tr.json changed. Re-apply any translation you edited.web/ — replace the whole folder.Up and down change the type of place, left and right go through every place of that type, and Enter sets the waypoint. The list shows which one you are on (2/5).
A new player setting jumps to the realistic view when Information opens with ESC. Off by default.
All, Defined in menu, Inventory and Changed by me. The filter is remembered, and long lists of key bindings now scroll smoothly.
Items saved by the qs-core basic inventory, or by ESX without an inventory resource, were missing after switching to qs-inventory. They now load, each in its own slot.
AddItem and RemoveItem take the slot, GetItem returns the ox format or the count, Search answers slots and lists, GetSlotsWithItem and GetSlotIdWithItem return the right values, ClearInventory works on stashes, CustomDrop creates a real drop and openInventory opens stashes passed as a table.
On large screens the flat map could be zoomed out until grey space showed around it.
The clothing worn when a piece is taken off could not be set above drawable 1000 in /inventoryconfig.
Names already read are kept on the player's PC, so the map shows them at once the next time and reads faster.
/cancelProgressBar was a test left in the ESX bridge.