diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-11-17 00:08:55 -0500 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-11-17 00:08:55 -0500 |
| commit | 0a490d7d811c682a8d0f5a74840583028f13822a (patch) | |
| tree | 27974734c1e21d8b5899641b7fafd0e4de5b2411 /gamemode/server/sv_noclip.lua | |
| parent | 2b9a21d0b05c72cb01fd8fb55dc37f9a6fbca48b (diff) | |
| download | artery-0a490d7d811c682a8d0f5a74840583028f13822a.tar.gz artery-0a490d7d811c682a8d0f5a74840583028f13822a.tar.bz2 artery-0a490d7d811c682a8d0f5a74840583028f13822a.zip | |
Various updates
Fixed a few problems with dependencies
Diffstat (limited to 'gamemode/server/sv_noclip.lua')
| -rw-r--r-- | gamemode/server/sv_noclip.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gamemode/server/sv_noclip.lua b/gamemode/server/sv_noclip.lua new file mode 100644 index 0000000..f36d563 --- /dev/null +++ b/gamemode/server/sv_noclip.lua @@ -0,0 +1,6 @@ +--Allow admins to noclip + +local function DisableNoclip( ply ) + return ply:IsAdmin() +end +hook.Add( "PlayerNoClip", "DisableNoclip", DisableNoclip ) |
