Server

ServerSide exports of the radio script.

AddUserToChannel

---@param src number
---@param channel string
---@return boolean
exports["cs-speak"]:AddUserToChannel(src, channel)

Add a user to a specific radio channel.


RemoveUserFromChannel

---@param src number
---@param channel string
---@return boolean
exports["cs-speak"]:RemoveUserFromChannel(src, channel)

Remove a user from a specific radio channel.


DisconnectUserFromAll

Disconnect a user from all radio channels.


GetUserChannel

Get the current channel of a user. Returns channel ID or false.


MoveUserToChannel

Move a user from one channel to another. If fromChannel is nil, it will be auto-detected.


GetChannelUsers

Get all users connected to a specific channel.


IsUserInChannel

Check if a user is connected to a specific channel.

Last updated