Garry's Mod

Garry's Mod

346 个评价
NoSurf - A simple solution to an annoying problem.
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 角色扮演
文件大小
发表于
更新日期
1.161 KB
2014 年 12 月 6 日 上午 1:19
2014 年 12 月 6 日 下午 2:19
12 项改动说明 ( 查看 )

订阅以下载
NoSurf - A simple solution to an annoying problem.

描述
This is a simple script that will kill people who try to propsurf.

Here's the simple config. Run these commands in the server console or set them in the server.cfg file.

nosurf_enabled (default 1) - Should we reprimand players for trying to propsurf?
nosurf_admins (default 1) - Should we also reprimand admins?
nosurf_speedtolerance (default 128) - How fast should they have to be travelling upwards to be killed?

Facepunch Thread[facepunch.com]

For developers:

You can stop someone from getting prop killed by adding a hook named "PropSurfed" and returning true.

For example,

hook.Add("PropSurfed", "Test Hook", function(a,b)
return a:IsSuperAdmin() or b:GetModel() == "models/props_c17/door01_left.mdl"
end)

Will prevent any superadmins from getting killed, and will prevent anyone who is using a door from getting killed.
34 条留言
TheGallantGeek™ 1 月 6 日 下午 7:49 
frickin corporate corporation
Binty 2024 年 10 月 16 日 上午 4:42 
what if instead of Garry’s Mod it was called Evil Garry’s Mod with Evil Addons like this one
don't you love a good whiskey 2024 年 8 月 1 日 上午 7:26 
Would rather become Silver (Prop)surfer then not propsurf
balls 2024 年 7 月 21 日 上午 6:27 
fag
yo_tango_yo_tango 2024 年 4 月 12 日 上午 10:01 
this sucks ass:steamsad::steamsad::secretweapon_hoi::secretweapon_hoi:
Brainjokester 2022 年 9 月 4 日 上午 7:11 
boooo
αℓzнє ツ 2021 年 10 月 22 日 下午 9:02 
Ulib line 109 of file hook.lua : local a, b, c, d, e, f = v.fn( ... )
αℓzнє ツ 2021 年 10 月 20 日 下午 8:08 
Does it support ULX/ULIB ?
I remove this.

nosurf.lua:31: attempt to call method 'IsPlayerHolding' (a nil value)
1. fn - autorun/nosurf.lua:31
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:109 (x31)
Dylan 2019 年 8 月 19 日 上午 12:22 
-rep
Warrior201X 2019 年 4 月 17 日 上午 7:10 
its good, for if you want your friends to play fair. Like if you want to run a maze. This will stop them from gaining advance.