feat: getConfig function

This commit is contained in:
Andyyy7666
2023-12-23 23:47:24 +01:00
parent a60e1b9e32
commit 29006870c3
2 changed files with 14 additions and 0 deletions

View File

@@ -26,6 +26,13 @@ function NDCore.getPlayersFromCoords(distance, coords)
return closePlayers
end
function NDCore.getConfig(info)
if not info then
return Config
end
return Config[info]
end
function NDCore.revivePlayer(reset, keepDead)
local usingAmbulance = GetResourceState("ND_Ambulance") == "started"
if not keepDead then