Module core.plugins.voiceradio.cl_init

Clientside Voice Radio Module

Module Overview

Functions

voiceradio.receivingTransmission() Check if the player is receiving any voice radio
voiceradio.localPlyUsingRadio() Check if the local player is using the radio
voiceradio.playerTalkingOverRadio(ply) Check if this player is talking on a radio we can hear from

Functions

voiceradio.receivingTransmission()
Check if the player is receiving any voice radio

Returns:

    bool If the player is hearing someone on radio
voiceradio.localPlyUsingRadio()
Check if the local player is using the radio

Returns:

    bool If the local player is using the radio
voiceradio.playerTalkingOverRadio(ply)
Check if this player is talking on a radio we can hear from

Parameters:

  • ply Player to check

Returns:

    string Channel name player is talking on or nil