Jump to content

onClientPlayerVoiceStart


fairyoggy

Recommended Posts

  • Moderators

@slapz0r

Do you want to mute them or mute the audio from other players as well?

I haven't done this before, so I do not know the best practice, especially the capability of voice with your gamemode.

 

But let me increase your options:

 

See this event: onPlayerVoiceStart

+ example on that page.

 

Here you have a list of export functions for the voice resource.

See:

https://wiki.multitheftauto.com/wiki/Resource:Voice#setPlayerVoiceMuted_2

And

https://wiki.multitheftauto.com/wiki/Resource:Voice#setPlayerChannel

 

 

  • Like 1
Link to comment
12 minutes ago, IIYAMA said:

@slapz0r

Do you want to mute them or mute the audio from other players as well?

I haven't done this before, so I do not know the best practice, especially the capability of voice with your gamemode.

 

But let me increase your options:

 

See this event: onPlayerVoiceStart

+ example on that page.

 

Here you have a list of export functions for the voice resource.

See:

https://wiki.multitheftauto.com/wiki/Resource:Voice#setPlayerVoiceMuted_2

And

https://wiki.multitheftauto.com/wiki/Resource:Voice#setPlayerChannel

 

 

solved my problem with the first option, thanks

  • Like 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...