mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 05:56:01 +01:00
feat: getConfig function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user