tomybk Posted February 25, 2019 Share Posted February 25, 2019 (edited) Last few days some code i cant figured. I spawn vehicle with driver, i set coords, he drive to coord but he wont do that if is wrong direction. So how i can make to he drive straight no matter if is wrong direction or he is on grass or on parking lot? Code: ped2.Task.DriveTo(vehicle2, new GTA.Math.Vector3(1487.01f, 3116.16f, 40.12f), 10f, 60f); Edited March 12, 2019 by tomybk Link to comment Share on other sites More sharing options...
Jitnaught Posted February 25, 2019 Share Posted February 25, 2019 (edited) To force driving straight you'll have to use a different driving style https://gtaforums.com/topic/822314-guide-driving-styles/ Edited February 25, 2019 by Jitnaught Link to comment Share on other sites More sharing options...
tomybk Posted February 26, 2019 Author Share Posted February 26, 2019 ok thank you, i see that documentaion already but didnt figured there nothing. I always before post anything i search forum from up to down I am not coder or scripter. 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