Piorun Posted September 9, 2013 Posted September 9, 2013 How to get time beetwen rendered for ex. first and second frame?
Moderators IIYAMA Posted September 9, 2013 Moderators Posted September 9, 2013 https://wiki.multitheftauto.com/wiki/GetTickCount WIKI MTA This function returns amount of time that your system has been running in milliseconds. By comparing two values of getTickCount, you can determine how much time has passed (in milliseconds) between two events. This could be used to determine how efficient your code is, or to time how long a player takes to complete a task.
csiguusz Posted September 10, 2013 Posted September 10, 2013 Or check onClientPreRender's timeSlice argument. Maybe it is what you need.
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