mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-16 21:46:03 +01:00
a lot of changes
This commit is contained in:
15
init.lua
15
init.lua
@@ -8,9 +8,16 @@ Config = {
|
||||
discordActionLink = GetConvar("discordActionLink", "https://discord.gg/Z9Mxu72zZ6"),
|
||||
discordActionText2 = GetConvar("core:discordActionText2", "STORE"),
|
||||
discordActionLink2 = GetConvar("core:discordActionLink2", "https://andyyy.tebex.io/category/fivem-scripts"),
|
||||
|
||||
}
|
||||
|
||||
NDCore = {
|
||||
config = Config
|
||||
}
|
||||
local nd_core = exports["ND_Core"]
|
||||
|
||||
NDCore = setmetatable({}, {
|
||||
__index = function(self, index)
|
||||
self[index] = function(...)
|
||||
return nd_core[index](nil, ...)
|
||||
end
|
||||
|
||||
return self[index]
|
||||
end
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user