Garry's Mod

Garry's Mod

345 ratings
NoSurf - A simple solution to an annoying problem.
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay
File Size
Posted
Updated
1.161 KB
6 Dec, 2014 @ 1:19am
6 Dec, 2014 @ 2:19pm
12 Change Notes ( view )

Subscribe to download
NoSurf - A simple solution to an annoying problem.

Description
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 Comments
TheGallantGeek™ 6 Jan @ 7:49pm 
frickin corporate corporation
Beni_dude30 16 Oct, 2024 @ 4:42am 
what if instead of Garry’s Mod it was called Evil Garry’s Mod with Evil Addons like this one
puyofan99 1 Aug, 2024 @ 7:26am 
Would rather become Silver (Prop)surfer then not propsurf
gooby 21 Jul, 2024 @ 6:27am 
fag
yo_tango_yo_tango 12 Apr, 2024 @ 10:01am 
this sucks ass:steamsad::steamsad::secretweapon_hoi::secretweapon_hoi:
Brainjokester 4 Sep, 2022 @ 7:11am 
boooo
alzhetv 22 Oct, 2021 @ 9:02pm 
Ulib line 109 of file hook.lua : local a, b, c, d, e, f = v.fn( ... )
alzhetv 20 Oct, 2021 @ 8:08pm 
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 19 Aug, 2019 @ 12:22am 
-rep
Warrior201X 17 Apr, 2019 @ 7:10am 
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.