Files
ND_Core/server/main.lua

21 lines
519 B
Lua
Raw Normal View History

2023-07-10 02:40:39 +02:00
-- For support join my discord: https://discord.gg/Z9Mxu72zZ6
2023-07-10 02:40:39 +02:00
NDCore = {}
NDCore.Players = {}
NDCore.Functions = {}
NDCore.Commands = {}
NDCore.PlayersDiscordInfo = {}
NDCore.Config = config
function GetCoreObject()
return NDCore
end
2023-07-10 02:40:39 +02:00
isResourceStarted("ox_inventory", function(started)
if not started then return end
SetConvarReplicated("inventory:framework", "nd")
2022-11-19 18:28:57 +01:00
end)
2022-11-30 03:32:52 +01:00
2023-07-10 02:40:39 +02:00
for _, roleid in pairs(config.adminRoles) do
ExecuteCommand("add_principal identifier.discord:" .. roleid .. " group.admin")
end