mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 05:56:01 +01:00
feat: convar for compatibility
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
if not lib.table.contains(Config.compatibility, "backwards") then return end
|
||||
|
||||
NDCore.Functions = {}
|
||||
NDCore.Functions.GetSelectedCharacter = NDCore.getPlayer
|
||||
NDCore.Functions.GetCharacters = NDCore.getCharacters
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
if not lib.table.contains(Config.compatibility, "backwards") then return end
|
||||
|
||||
exports("GetCoreObject", function()
|
||||
return NDCore
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user