Client
ClientSide exports of the overlay script.
Use these exports at your own risk. Please note that improper use may result in performance or stability issues. Implementing them in fast loops or modifying the script name is not recommended for proper functionality.
The client-side exports will not modify anything in the script, they will only return information for obvious security reasons.
AddToRadio
---@param serverId number
---@param name string|nil
---@param isTalking boolean|nil
---@return boolean
exports["cs-overlay"]:AddToRadio(serverId, name, isTalking)
exports["cs-overlay"]:AddToRadio(serverId)Add a player to normal radio.
SetRadioTalking
---@param serverId number
---@param isTalking boolean
---@param name string|nil
---@return boolean
exports["cs-overlay"]:SetRadioTalking(serverId, isTalking, name)Set a player's talking state on normal radio.
RemoveFromRadio
Remove a player from normal radio display.
AddToEmergency
Add a player to emergency radio (optionally as whisper).
SetEmergencyTalking
Set a player's talking state on emergency radio and whisper flag.
RemoveFromEmergency
Remove a player from emergency radio display.
ClearAllTalkers
Clear all talker entries from the overlay.
Last updated