• how to get a server FPS in Gmod?
    8 replies, posted
Not so long ago I began to study GLua. And so I asked myself how to find out the server FPS. All the options from the Gmod Wiki don't work!
You'll have to use this module; the function isn't exposed by default.
thanks, I'll try it now.
As I understood, its FrameCount() and RealFrameTime()
lua_run require("fps") print(FrameCount())
It's probably engine.FrameCount() if you look at the source code of the module
Can't you just calculate it using Tick/Think and SysTime() ?
You can with Tick, but it will be a little bit inaccurate from the hook call being factored into the time.
thanks for the help! I managed to do it.
Sorry, you need to Log In to post a reply to this thread.