Garry's Mod

Garry's Mod

284 ratings
Gun Stats for TTT and DarkRP
 
Rate  
Favorite
Favorited
Unfavorite
Tags: Misc
File Size
Posted
Updated
0.005 MB
Aug 14, 2014 @ 7:43am
Aug 18, 2014 @ 11:24am
3 Change Notes ( view )

Subscribe to download
Gun Stats for TTT and DarkRP

Subscribed
Unsubscribe
Description
See the statistics of any weapon you look at!

Shown Statistics
Damage
Clip information (current clip/maximum)
Accuracy *
Recoil *
Fire mode
Fire rate
* Information is given a rank instead of raw data - see screenshots

Console Variables
gs_show (0/1) - Set whether or not you should see the information panels (1 = show)

Color coding!
Each different class of weapon can be given a unique color for their name, these are the default colors:
Primary - Blue
Secondary - Yellow
Grenade - Orange
Special - Red

Easily customisable - give your server a unique look!
All colors are easily customisable, as well as the boundries for the different stat ratings
Padding, the width of the panel, font used, position above the weapon and fade speeds are all customizable, look in the lua/gunstats/cl_config.lua file.

Errors
Should you encounter any Lua errors while using this addon, please check if you have made mistakes while customising the addon by pasting the contents of the cl_config.lua file to this page[www.lua.org] and adding this to the top of the text box:
GS = {}; Color = function() end; GS.Stats = {}
Then hit "Run" below, and check the output box for errors.
If you still can't figure out what's wrong, post the full stack of the error in a comment on this page or send me a message on Steam.

Direct download
GitHub[github.com]

Source
GitHub[github.com]

Why does it say semi-automatic weapons are automatic!?
It's because the addon uses scripted weapon's values. In GMod, 'automatic' weapons will continue firing if you hold down the attack button. TTT is particularly guilty of this, with multiple shotguns, rifles, and pistols being set as automatic. Sorry if it irritates you, but changing the information for individual weapons would be more work than it's worth.

Other information
The information panel fades in when you look at a weapon and quickly fades out once you look away. No two panels are fully visible at the same time, the fading was disabled for some screenshots to allow comparisons.
This addon will work with pretty much any game mode you want to use it with, but you must configure it according to your game mode's weapon structure. This requires proficient Lua knowledge - if you are unable to do it yourself send me a message on Steam and I'll try to help you out.

Please forgive me for the terrible icon, it's the best I could do with an online editor
< >
56 Comments
dosdow638 Oct 20, 2018 @ 11:08am 
LOL IT ALSO WORKS IN SANDBOX
Konekechenowa Jan 14, 2018 @ 12:23pm 
i cant see the Damage
Clip information (current clip/maximum)
Accuracy *
Recoil *
Fire mode
Fire rate
:steamsad:
kastal Apr 7, 2017 @ 10:20pm 
Could you please make it for M9K? That would be lit asf
fizi Feb 12, 2017 @ 4:30am 
works on breach
Marvin der Marienkäfer Feb 8, 2017 @ 2:29am 
can i translate it to german ?
SteλmPunke Dec 29, 2016 @ 2:07pm 
This works for almost every gamemode such as jailbreak and sandbox aswell
Tucker May 2, 2016 @ 1:15pm 
Works well and looks really nice
George Costanza Jan 28, 2016 @ 4:55pm 
make somthing just like this witrh no gamemode.
Proud to be American Aug 14, 2015 @ 7:12pm 
how do i get rp gamemode tho?
Rymd Aug 11, 2015 @ 5:25am 
Rifle is bolt action. M16 is semi-auto. Yet this states that it's automatic.