syn0nym Posted April 15, 2022 Share Posted April 15, 2022 So i want to make a animation to count a number, i have some variable to make and my problem is which function to make a counting number values = 350000 -- Value of max count speed = 1000 -- Speed of count Link to comment
Addlibs Posted April 16, 2022 Share Posted April 16, 2022 You can either use getTickCount() which counts milliseconds since the client/server started, or you can use setTimer to manually increment a variable until it reaches your desired value. getTickCount requires a tiny bit of basic math, but ultimately more efficient than a creating timer. 1 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