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. 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
csiguusz Posted September 10, 2013 Posted September 10, 2013 Or check onClientPreRender's timeSlice argument. Maybe it is what you need. Owner of [HUN]Magyar Play Szerver 1.4, IP: 31.220.43.153:22003
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