Jump to content

Mouse steering


Recommended Posts

Hello! I want to create a mouse steering script, but I dont know where to start. I found one, but its for GTA SA and uses CLEO.

Sort of ETS 2 Mouse steer, a little hud on the bottom of the screen, so you always know, where is the wheel. If anyone can help, I appriciate that! Thanks! :D

Link to comment

U create a zero point, where u save the cursorposition when u press for example the left mouse button. 

When u created the zeropoint and pressing the left mouse button u maybe change the handling of the vehicle, i mean the steering (steeringLock handling) by the difference from zeroPointX and mousePosX

lastly u set the pedControlState. 

  • Like 1
Link to comment

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...