Dimos7 Posted July 24, 2017 Share Posted July 24, 2017 Hello guyes i just wander what function need for make a cruise cotnrol i guess need what else? getElementVelocity setTimer bindKey Link to comment
iMr.WiFi..! Posted July 24, 2017 Share Posted July 24, 2017 interpolateBetween + getElementVelocity -- to make beautiful animation and to get element speed and calculate interpolateBetween setElementPosition Link to comment
Dimos7 Posted July 24, 2017 Author Share Posted July 24, 2017 so all i need is that 5 functions? set not get? Link to comment
Administrators Lpsd Posted July 24, 2017 Administrators Share Posted July 24, 2017 I mean, I could spend all day pasting every single function from the MTA wiki - you are the one building the script so you should decide which functions are needed. To answer your question - no, that's not all you'll need for a fully functioning cruise control. For starters, how will you calculate the paths in which the vehicles/planes are allowed to travel once in cruise control mode? I find it best to do some planning or brain storming before writing any code, run through the process in your head, or on paper. Doing this will help you to make a better script, and more importantly get a better understanding of what will be required to create it. Link to comment
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