Minato19 Posted May 8, 2024 Posted May 8, 2024 (edited) I have a question regarding vehicle rotation. I have pretty much the same logic on creating a vehicle, but on one case, it always faces north and can't change it in anyway: This one is not working: truck = mp.vehicles.new(mp.joaat('phantom'), player.position, { heading: -125 }); This one is working: let vehicle = mp.vehicles.new(mp.joaat(model), player.position, { heading: Number(heading) }); Any ideas what I'm doing wrong? I've tried to change rotation and heading both from options object and after creating it, but didn't work. Also, I tried to put a value between 0 and 360, and nothing changes. Note: the first one is under a custom event and the second one is under a command. Edited May 8, 2024 by Minato19 better spacing
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