mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-11-17 02:58:33 +00:00
feat: getConfig function
This commit is contained in:
1 parent
a60e1b9e32
commit
29006870c3
2 files changed
+14
No files matched your search
@@ -34,6 +34,13 @@ function NDCore.getPlayerServerInfo(source)
|
||||
return PlayersInfo[source]
|
||||
end
|
||||
|
||||
function NDCore.getConfig(info)
|
||||
if not info then
|
||||
return Config
|
||||
end
|
||||
return Config[info]
|
||||
end
|
||||
|
||||
---@param fileLocation string|tabale
|
||||
---@return boolean
|
||||
function NDCore.loadSQL(fileLocation, resource)
|
||||
|
||||
Reference in new issue
Block a user