Script integration
Client exports

Client exports

SetConnectedUsers

Update the UI with the number of connected users on the current frequency.

---@param count number
exports["lb-radio"]:SetConnectedUsers(count)

SetConnectedStatus

Update the UI with the connected status to the current frequency.

---@param connected boolean
exports["lb-radio"]:SetConnectedStatus(connected)

SetFrequency

Update the UI with the current frequency, e.g. "101.1".

---@param frequency string
exports["lb-radio"]:SetFrequency(frequency)