On_VoiceChat

Dec 7, 2015
On_VoiceChat
  • Method:
    On_VoiceChat

    Argument(s):
    1: uLink.NetworkPlayer
    2: Fougerite.Player Player

    Examples:

    Code (Lua):
    function On_VoiceChat(NetworkPlayer, Player)
        Server:Broadcast(Player.Name .. " is talking!")
    end
    Code (Javascript):
    function On_VoiceChat(NetworkPlayer, Player) {
        Server.Broadcast(Player.Name + " is talking!");
    }
    Code (Python):
    def On_VoiceChat(self, NetworkPlayer, Player):
        Server.Broadcast(Player.Name + " is talking!")