diff options
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 ) |
