Open
Description
Describe the bug
Cannot unbind mouse wheel "zoom".
To Reproduce
client code:
bindKey('aim_weapon', 'both', function(key, state)
toggleAllControls(state ~= 'down')
toggleControl('aim_weapon', true)
end)
Do this in game:
- take sniper, push aim button
- use wheel
You can zoom in and out.
Expected behavior
Be unable to zoom in and out.
Additional context
Gallardo9944 said:
Don't know if it's related or not, but if you're not inside a vehicle and your camera target is set to someone with a vehicle, scrolling mouse wheel will simulate look-left and look-right tasks, meanwhile if you're in vehicle and spectate another player in vehicle, mouse wheel will do nothing. And it doesn't look like there's any way to prevent such behavior from within Lua.