Gandrak Posted April 17, 2016 Share Posted April 17, 2016 Hello everyone. I'm trying to create a mod that makes the car heads to the same angle that the camera (mouse turning) and then get speed in that angle. But I can't get Z angle for the mouse camera, so how can I do it? Thanks. Link to comment Share on other sites More sharing options...
gtafan2u Posted April 17, 2016 Share Posted April 17, 2016 I was also trying to make such a code for my turbofly script. I had done it by calculating the distance between x coordinates of player and camera position. If it is positive then right or if negetive left. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now