Main Menu

Voice Chat

Started by Vortrex, May 22, 2018, 08:21:58 PM

Previous topic - Next topic

Vortrex

In-game voice chat (like MTA SA has)

Including events like OnPlayerVoiceStart, OnPlayerVoiceStop, etc with a "voice" object.

Obviously event.preventDefault() cancels it, but if not used just send to everybody.



Properties like voice.volume, voice.client, voice.position, and some others.

Functions like voice.play(client) to play for a certain client.