master
AlmTech 5 years ago
parent 1e6a01aeb7
commit 46c431fa63
  1. 6
      gamemode/cl_init.lua
  2. 1
      gamemode/init.lua
  3. 10
      gamemode/shared.lua
  4. 2
      quantum.txt

@ -14,12 +14,6 @@ if CLIENT then
function Quantum.Client.Load()
local fol = GM.FolderName .. "/gamemode/core/"
-- Shared files
local shFiles = file.Find( fol .. "/sh_*.lua", "LUA" )
for _, file in pairs( shFiles ) do
include( fol .. file )
end
-- CLient files
local clFiles = file.Find( fol .. "/client/cl_*.lua", "LUA" )
for _, file in pairs( clFiles ) do

@ -22,7 +22,6 @@ if SERVER then
local shFiles = file.Find( fol .. "/sh_*.lua", "LUA" )
for _, file in pairs( shFiles ) do
AddCSLuaFile( fol .. file )
include( fol .. file )
end
-- CLient files

@ -11,3 +11,13 @@ GM.Email = "elias@almtech.se"
GM.Website = "N/A"
Quantum = {}
Quantum.Shared = {}
Quantum.Shared.Init = function()
local shFiles = file.Find( fol .. "/sh_*.lua", "LUA" )
for _, file in pairs( shFiles ) do
include( fol .. file )
end
end
Quantum.Shared.Init()

@ -1,7 +1,7 @@
"quantum"
{
"base" "base"
"title" "DarkRP"
"title" "Quantum Framework"
"maps" "^rp_"
"menusystem" "1"
}
Loading…
Cancel
Save