Added addons and standalone file

This commit is contained in:
Cooldude2606
2017-12-28 13:08:25 +00:00
parent 572af853c9
commit bbf7d7753e
3 changed files with 28 additions and 2 deletions

11
Addons/load.lua Normal file
View File

@@ -0,0 +1,11 @@
--[[
Explosive Gaming
This file can be used with permission but this and the credit below must remain in the file.
Contact a member of management on our discord to seek permission to use our code.
Any changes that you may make to the code are yours but that does not make the script yours.
Discord: https://discord.gg/r6dC2uK
]]
--Please Only Edit Below This Line-----------------------------------------------------------
-- this file will just contain all the diffrent requires

11
StandAlone/load.lua Normal file
View File

@@ -0,0 +1,11 @@
--[[
Explosive Gaming
This file can be used with permission but this and the credit below must remain in the file.
Contact a member of management on our discord to seek permission to use our code.
Any changes that you may make to the code are yours but that does not make the script yours.
Discord: https://discord.gg/r6dC2uK
]]
--Please Only Edit Below This Line-----------------------------------------------------------
-- this file will just contain all the diffrent requires

View File

@@ -30,7 +30,7 @@ Color, Game, Event = require('/StdLib/load'){'Color','Game','Event'}
-- loads the ExpLib, functions are plased into the lua global -- loads the ExpLib, functions are plased into the lua global
local ExpLib = require 'ExpLib' local ExpLib = require 'ExpLib'
ExpLib._unpack_to_G(ExpLib) ExpLib._unpack_to_G(ExpLib)
_G.discord_emit = nil -- un-comment this line if you are not using the json.data --_G.discord_emit = nil -- un-comment this line if you are not using the json.data
-- loads the ExpCore files these are need in order to run the other addons -- loads the ExpCore files these are need in order to run the other addons
Ranking, Server, Gui = require('/ExpCore/load'){'Ranking','Server','Gui'} Ranking, Server, Gui = require('/ExpCore/load'){'Ranking','Server','Gui'}
@@ -43,3 +43,7 @@ require('/ExpCore/ranks')
pcall(require,'/Addons/playerRanks') pcall(require,'/Addons/playerRanks')
-- this makes sure that all the little details are cleaned up -- this makes sure that all the little details are cleaned up
Ranking._auto_edit_ranks() Ranking._auto_edit_ranks()
-- this loads all the addons
pcall(require,'Addons/load')
-- this loads anything that does not use ExpCore (sourse given in the file)
pcall(require,'StandAlone/load')