Garry's Mod

Garry's Mod

215 arvostelua
Simple Taser SWEP
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Roleplay
Tiedostokoko
Julkaistu
Päivitetty
756.192 KB
27.6.2016 klo 15.45
14.4.2017 klo 16.21
7 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Simple Taser SWEP

Kuvaus
A really simple Taser SWEP, and it may be buggy.

Note: It works on NPCs but not as well as it does on players or bots

What it does:
Freezes and turns the victims into ragdolls
Plays a cool taser shound when you shoot it
Plays effects at hit locations

What it doesn't do:
Allow for world domination
Cause GabeN to count to 3

Console Variables:
Note: ConVars with boolean values will be true if the value entered is a non-zero number
sv_taser_dmg <number> Changes the ammount of damage the taser will do to people hit by it
sv_taser_duration <number> How long players will be disabled for after getting tased. This is set to 15 seconds by default.
sv_taser_distance <number> The effective range of the taser
sv_taser_firerate <number> The time the player has to wait before the taser can be fired again
sv_taser_screen_fade <boolean> Determines if the screen will fade when you get tased (server-side)
sv_taser_dropweapon <boolean> Determines if players will drop their weapon when getting tased
cl_taser_sparksize <number> The size of the effects at the hit location

Github
Uploaded to github for people who are interested in the code:
https://github.com/JJL772/Garry-s-Mod-Taser

If you have any problems comment with a detailed description of your problem below and I'll try my best to help you.
45 kommenttia
nicolas.thibaut 21.2.2024 klo 0.48 
[[ TFA ] [ AT ] Glock-19] lua/weapons/tfa_ins2_glock_19/shared.lua:104: attempt to index global 'TFA' (a nil value)
1. unknown - lua/weapons/tfa_ins2_glock_19/shared.lua:104
Tonk 22.12.2022 klo 7.31 
i can't find the taser
johann.frog 10.6.2021 klo 8.45 
hold right click
BeanSoule 30.11.2020 klo 9.23 
it would be cool if the ragdoll shaked around on the ground
Xctony145 26.7.2020 klo 23.50 
Can you find the model of it :D
Xctony145 26.7.2020 klo 23.46 
Why does the Taser look ike a handgun TwT
But I like this addon!Very cool!!!
EvilDude 10.4.2019 klo 19.03 
can u add like an admin taser like in the ceds taser mod which is the same but the duration is infinite until you press a button to release the person tased (ceds taser always bugs out and glitches so i cant use it but this is good)
michael jackson 17.3.2019 klo 2.47 
no it works fine but it says damnhethicc and i dont know what it is
JJl77  [tekijä] 16.3.2019 klo 14.17 
Probably a game update broke it
Ill look into fixing it
michael jackson 16.3.2019 klo 10.04 
what is this and why does it say damnhethicc
[ERROR] lua/autorun/damnhethicc.lua:14: Tried to use a NULL entity!
1. GetClass - [C]:-1
2. SetParent - lua/autorun/damnhethicc.lua:14
3. unknown - lua/weapons/rp_jj_taser.lua:127

Timer Failed! [Simple][@lua/weapons/rp_jj_taser.lua (line 126)]