33-- @Author: Garrus2142
44-- @Date: 2017-07-25 16:15:52
55-- @Last Modified by: Garrus2142
6- -- @Last Modified time: 2017-07-26 14:49:51
6+ -- @Last Modified time: 2017-07-27 17:08:04
77
88GM .Name = " Slashers" ;
99GM .Author = " Garrus2142" ;
@@ -30,34 +30,4 @@ CLASS_KILL_PROXY = 104
3030CLASS_KILL_INTRUDER = 105
3131
3232team .SetUp (TEAM_KILLER , " Murderer" , Color (255 , 0 , 0 ), false );
33- team .SetUp (TEAM_SURVIVORS , " Survivors" , Color (0 , 0 , 255 ), false );
34-
35- -- Module Loader
36- function LoadModules ()
37- local modulesPath = " slashers/gamemode/modules"
38- local _ , directories = file .Find (modulesPath .. " /*" , " LUA" )
39-
40- if SERVER then print (" --- MODULES ---" ) end
41- for _ , mod in ipairs (directories ) do
42- if GM .CONFIG [" disabled_modules" ][mod ] then continue end
43- files = file .Find (modulesPath .. " /" .. mod .. " /*.lua" , " LUA" )
44- if # files > 0 then
45- if SERVER then print (" LOADING " .. mod ) end
46- end
47- for _ , v in ipairs (files ) do
48- local ext = string.sub (v , 1 , 3 )
49- if ext == " cl_" || ext == " sh_" then
50- if SERVER then
51- AddCSLuaFile (modulesPath .. " /" .. mod .. " /" .. v )
52- else
53- include (modulesPath .. " /" .. mod .. " /" .. v )
54- end
55- end
56- if ext == " sv_" || ext == " sh_" then
57- if SERVER then
58- include (modulesPath .. " /" .. mod .. " /" .. v )
59- end
60- end
61- end
62- end
63- end
33+ team .SetUp (TEAM_SURVIVORS , " Survivors" , Color (0 , 0 , 255 ), false );
0 commit comments