Garry's Mod

Garry's Mod

345 vurderinger
NoSurf - A simple solution to an annoying problem.
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay
Filstørrelse:
Offentliggjort:
Opdateret:
1.161 KB
6. dec. 2014 kl. 1:19
6. dec. 2014 kl. 14:19
12 ændringsbemærkninger ( vis )

Abonner for at downloade
NoSurf - A simple solution to an annoying problem.

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