• Total played time on all servers combined + singleplayer
    3 replies, posted
After hearing that the only counted time for the Addict achievement etc. is the actual played time (not time spent in menu, loading screens etc.) that means being connected to a server with a map or the singleplayer mode and also after hearing there exists a command for this type of time, I just wanted to know: What is the command line? Some guy on a random forum mentioned it, but after hours of research I found nothing :/ does it even exist? Thanks!
I think [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/achievements/GetCount]achievements.GetCount[/url] with the addict achievement ID will work.
[QUOTE=code_gs;52371922]I think [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/achievements/GetCount]achievements.GetCount[/url] with the addict achievement ID will work.[/QUOTE] That's not a command, that's a Lua function.
[QUOTE=monkeymacman;52394361]That's not a command, that's a Lua function.[/QUOTE] Then there is no command. You could just run lua_run_cl print(achievements.GetCount (id_for_playtime)) in single-player.
Sorry, you need to Log In to post a reply to this thread.