Garry's Mod

Garry's Mod

61 ratings
TTT Detective Randomgun
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun
File Size
Posted
Updated
1.163 MB
21 Feb, 2017 @ 3:28pm
24 Jan, 2020 @ 6:33am
5 Change Notes ( view )

Subscribe to download
TTT Detective Randomgun

Description
A gun with random fire modes every shot for detectives.

Fire modes:
- normal 50 damage bullet
- barrel
- explosive microwave
- burning dart ( aka Flare Gun )
- kinetic push ( Newton Push )
- health for target
- change your HP with your target ones
- swap your and your targets` position



---
inspiration for explosive microwave: http://steamproxy.net/sharedfiles/filedetails/?id=294564108

Icon created using GIMP and http://www.freeiconspng.com/free-images/dice-png-27666
10 Comments
spartancs014  [author] 30 Dec, 2021 @ 10:58am 
@BlazingArson: Sure, do your thing. Same remark as below, if the image files are used too.
Rhysin_ 28 Dec, 2021 @ 9:13pm 
do you mind if i make a version of this for a custom ttt role (currently just spawns with this version)? Ill just be making some new fire modes and removing some fire modes to make it fit the role, will credit obviously if you let me
spartancs014  [author] 21 Feb, 2018 @ 12:42pm 
@Rising Darkness: sure, if you are using the png (icon) aswell, make sure to link the source
Xopez 19 Feb, 2018 @ 4:27am 
Are you allowing me to reupload a version for detectives and traitors?
spartancs014  [author] 2 Nov, 2017 @ 4:04am 
@ ticoligthart: It was designed for TTT, so it could be tricky to make it available in sandbox aswell. mainly depends on how many functions are used from the TTT mod pack. I can look into it, but i'm currently very busy, so it can take a while.
ticorex 1 Nov, 2017 @ 11:16am 
is this TTT only or can i use it in sandbox aswell?

if no, can you please create a sandbox version?
spartancs014  [author] 30 Jun, 2017 @ 1:23pm 
@ TheSoulrester: I applied a fix to the code. It should hopefully not occur again.
TheSoulrester 30 Jun, 2017 @ 12:20pm 
ohm.... not realy - in this moment, a mate threw a holy grenade to me - in this moment i hit him with the random gun and he went on fire - after that i shoot again and hit him again - after that, the error appears
spartancs014  [author] 30 Jun, 2017 @ 12:13pm 
@ TheSoulrester: Thanks for commiting the issue. I was not able to reproduce the error, can you remember what you have done to trigger it ?
TheSoulrester 30 Jun, 2017 @ 11:22am 
there is an issue:
[ERROR] lua/weapons/functions/teleswap.lua:14: attempt to index a nil value
1. unknown - lua/weapons/functions/teleswap.lua:14
2. FireBullets - [C]:-1
3. TeleswapShot - lua/weapons/functions/teleswap.lua:34
4. unknown - lua/weapons/ttt_randomgun.lua:90