overextended / ox_inventory

Slot-based inventory with metadata.
https://overextended.dev/ox_inventory
GNU General Public License v3.0
440 stars 684 forks source link

unable to change weapons in equipped vehicles #1740

Open TheThomasG opened 2 months ago

TheThomasG commented 2 months ago

Describe the bug A clear and concise description of what the bug is.

In the previous version, weapon switching worked - after the update it stopped. the script correctly knows that the vehicle has a weapon - it does not show the equipment after pressing TAB, but the weapon wheel in the vehicle does not display - after pressing TAB, nothing happens, the keys are set correctly.

Framework The framework your server uses for players (e.g. Ox, ESX, QB). ESX Resource version The version number listed in fxmanifest.lua, or optionally a commit hash. V2.40.2

To Reproduce Steps to reproduce the behavior: Enter a vehicle that has several types of weapons - you can't switch them.

Expected behavior A clear and concise description of what you expected to happen. After pressing the defined button, a weapon selection wheel should appear - or the weapon should switch.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

thelindat commented 1 month ago

image image