Garry's Mod

Garry's Mod

215 个评价
Simple Taser SWEP
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
756.192 KB
2016 年 6 月 27 日 下午 3:45
2017 年 4 月 14 日 下午 4:21
7 项改动说明 ( 查看 )

订阅以下载
Simple Taser SWEP

描述
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.
43 条留言
nicolas.thibaut 2024 年 2 月 21 日 上午 12: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 2022 年 12 月 22 日 上午 7:31 
i can't find the taser
johann.frog 2021 年 6 月 10 日 上午 8:45 
hold right click
BeanSoule 2020 年 11 月 30 日 上午 9:23 
it would be cool if the ragdoll shaked around on the ground
Xctony145 2020 年 7 月 26 日 下午 11:50 
Can you find the model of it :D
Xctony145 2020 年 7 月 26 日 下午 11:46 
Why does the Taser look ike a handgun TwT
But I like this addon!Very cool!!!
EvilDude 2019 年 4 月 10 日 下午 7: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)
JJl77  [作者] 2019 年 3 月 16 日 下午 2:17 
Probably a game update broke it
Ill look into fixing it
Xor fo xob 2018 年 5 月 28 日 上午 11:38 
G A B E N
Machandler318 2018 年 5 月 23 日 上午 11:25 
Awesome