P.Wiśnia Posted May 18, 2020 Posted May 18, 2020 I need a function that will move the element(moveElement), but it will accelerate at the beginning and slow down at the end.
Moderators IIYAMA Posted May 18, 2020 Moderators Posted May 18, 2020 1 hour ago, P.Wiśnia said: I need a function that will move the element(moveElement), but it will accelerate at the beginning and slow down at the end. You can use moveObject and fill in the strEasingType argument. If you want more customization, you need to spend more time on stuff like this: https://wiki.multitheftauto.com/wiki/Animate Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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