Jump to content

[HELP] Stop Mouse from Rotating


Imposter

Recommended Posts

Posted

Hello, as the topic states, is there any way to make the mouse stop from changing the view? I want to disable the roation by script. Any help is greatly appreciated. I want a chase view like thing.

Thanks,

NooP

Eat My Dust - DM/Deathmatch

350x20_00C3FF_FFFFFF_000000_000000.png

Posted

You can't simply stop mouse from rotating camera but when you use setCameraMatrix it will change the camera's position and also disable mouse camera rotation. You can use this function in onClientPreRender event to create custom camera movement. Check this https://wiki.multitheftauto.com/wiki/GetOffsetFromXYZ to help you make a chase camera.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...