How can I unbind the mouse wheel in client side so the player is unable to neither zoom in or out?
Using either of the Player.CameraMinZoomDistance
or the Player.CameraMaxZoomDistance
properties doesn't count, as that doesn't answer my quesion.
I'll of course accept the answer.
Thank you very much beforehand!
There is a way easier way of doing it without having to unbind anything, wich is using the Camera.CameraMode
property. Here is how you set it:
local cam = workspace.CurrentCamera cam.CameraMode = Enum.CameraMode.LockFirstPerson -- makes so you can't unzoom/zoom cam.CameraMode = Enum.CameraMode.Classic -- makes it able to zoom/unzoom again
Hope this helped!