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 | |
| 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')
| -rw-r--r-- | gamemode/server/sv_loadplayer.lua | 2 | ||||
| -rw-r--r-- | gamemode/server/sv_noclip.lua | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gamemode/server/sv_loadplayer.lua b/gamemode/server/sv_loadplayer.lua index f8c2568..faeaaf3 100644 --- a/gamemode/server/sv_loadplayer.lua +++ b/gamemode/server/sv_loadplayer.lua @@ -18,7 +18,7 @@ end hook.Add("PlayerInitialSpawn","ArteryPlayerLoad",function(pl) local modelnum = pl:UniqueID() % (#models) - timer.Simple(1,function() + timer.Simple(10,function() delayplayerload(pl) end) pl:SetModel(models[modelnum]) 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 ) |
