Export, used to add network.
Type Reference: WifiNetwork
---@param data WifiNetwork ---@return boolean, string | nil function addNetwork(data) end
local success, errorMessage = exports.fd_laptop:addNetwork({ ssid = "testing_network", label = "Testing Network", password = "123456" }) if not success then print(errorMessage) end
On This Page