Skip to content

Fix: weapon wheel resetting#78

Merged
FjamZoo merged 1 commit intoCommunityOx:mainfrom
Maximus7474:fix/weapon-wheel
Feb 11, 2026
Merged

Fix: weapon wheel resetting#78
FjamZoo merged 1 commit intoCommunityOx:mainfrom
Maximus7474:fix/weapon-wheel

Conversation

@Maximus7474
Copy link
Member

This addresses and resolves the issue in #74 by adding an override variable that is only changed when the export is called.

… vehicle

fix(client): weaponwheel manual override being "cancelled" by exiting vehicle
@137ElPro
Copy link

Does that cause the weapons wheel to lock up when you get into an armed vehicle? I'm just saying in case it wasn't taken into account.

@Maximus7474
Copy link
Member Author

What do you mean lock up ?

It was tested, both in the case when weapon wheel export was passed true and without interaction. So when entering a seat with a weapon you're able to use it (regardless of the use weapon wheel state) and switch it using the mouse scroll, but unless you have called the export it won't be useable on foot.

If you feel like there's an unconsidered edgecase you're more then welcome to pull my branch and test it.

@137ElPro
Copy link

137ElPro commented Feb 1, 2026

Nothing, just asking without trying, that's fine.

@FjamZoo FjamZoo merged commit 1be9f08 into CommunityOx:main Feb 11, 2026
@Maximus7474 Maximus7474 deleted the fix/weapon-wheel branch February 11, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants