Last active
August 29, 2015 13:56
-
-
Save AmyJeanes/8892623 to your computer and use it in GitHub Desktop.
Get's the current tickrate of Garry's Mod and prints it to console, one line so it can be used in lua_run|lua_run_cl.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local n=0 hook.Add("Tick", "TickFinder", function() n=n+1 end) timer.Simple(1,function() hook.Remove("Tick", "TickFinder") print("Tickrate: " .. n) end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment