Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] Statistics-Addon
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
48.073 KB
Apr 19, 2020 @ 9:18am
May 8, 2021 @ 10:16am
15 Change Notes ( view )

Subscribe to download
[TTT2] Statistics-Addon

Description
Welcome to the TTT2 Statistics-Addon!

Open the addon using the consolecommand "stat_DrawGui" or by using the keybindings menu in TTT2

Currently the Addon tracks:

• Kills and Deaths
• Damage dealt/received
• TTT Round-stats
• TTT Item-stats
• ...

This Addon is intended for the TTT2 gamemode, but I think it could also be used for the normal TTT gamemode and/or other gamemodes. (It should still track your kills/deaths)

All of the tracked data is stored on the client-side, yet the server is still needed to send certain events to the player.

Add your own statistics to the addon! Find out more here[github.com]

Note for serverowners:
If you want to stop the announcement of milestones in the chat, set the ConVar "stat_ShowMilestones" as false

If you have any problems or bugs with this addon, feel free to contact me.
6 Comments
Malcry Mar 16 @ 11:29am 
is there a way to view the stats of the server? like how many times a player died from another, and not only mine
Zumoari Jul 20, 2021 @ 7:29am 
ok thanks :)
Henotu  [author] Jul 20, 2021 @ 5:55am 
@Zumoari The statistics are saved in the client-database of gmod (cl.db). If you export your data in the settings menu of the addon, you can find the export in the /garrysmod/data/ttt_statistics_addon folder.
Zumoari Jul 19, 2021 @ 3:02am 
Hi, I wanted to ask if the satistics are saved in a txt file and where is it located? Thanks :)
Henotu  [author] Jun 10, 2020 @ 11:06am 
@ThePlatynumGhost, thanks for the Bug report. I fixed the bug, the update should come in the next days
ThePlatynumGhost Jun 8, 2020 @ 2:48pm 
[ERROR] lua/autorun/client/cl_stat_record.lua:246: attempt to perform arithmetic on upvalue 'TimeAlive' (a nil value)
1. fn - lua/autorun/client/cl_stat_record.lua:246
2. Call - addons/ulib-v2_63/lua/ulib/shared/hook.lua:109
3. RoundStateChange - addons/ttt2-master/gamemodes/terrortown/gamemode/client/cl_main.lua:320
4. func - addons/ttt2-master/gamemodes/terrortown/gamemode/client/cl_main.lua:430