dobrograd-13-06-2022/garrysmod/addons/feature-winter/lua/autorun/dbg-winter.lua
Jonny_Bro (Nikita) e4d5311906 first commit
2023-11-16 15:01:19 +05:00

12 lines
343 B
Lua

octolib.server('dbg-winter/sv_winter')
octolib.client('dbg-winter/cl_winter')
octolib.client('dbg-winter/cl_editor')
hook.Add('Think', 'dbg-winter.init', function()
hook.Remove('Think', 'dbg-winter.init')
local mapFile = 'dbg-winter/map_' .. game.GetMap()
if file.Exists(mapFile .. '.lua', 'LUA') then
octolib.client(mapFile)
end
end)