Files
Elite-Gaming-FiveM/resources/cadvanced_mdt/server/modules/cad_config.lua
T
Jacob 0c86672837 Server build & CADvanced update.
+ Updated CADvanced to latest version which adds BOLO functionality.
+ Server artefacts updated to latest version
2022-01-06 23:24:24 +00:00

12 lines
382 B
Lua

local cad_config = {}
-- Update config from CAD
function cad_config.receive_update(updated_config)
local retval = getResourcePath()
local conf = io.open(retval .. "/cad.conf", "w")
conf:write("###### IMPORTANT CONFIGURATION FILE - DO NOT EDIT OR DELETE ######\n")
conf:write(updated_config.url .. "|" .. updated_config.key)
io.close(conf)
end
return cad_config