[Release] vVoice v1.2 | Simple proximity Voice Chat resource

Mind telling me what changes you made to make it look like that?

I have 1 problem why this one will break my phone code? I can’t call anybody as I put this one in

Hi wan to know is this voice chat support onesync?

How to Hide the Currently talking?

To help the community out a bit to fix for onesync do

Citizen.CreateThread(function()
    while true do
        Citizen.Wait(0)
        NetworkSetTalkerProximity(prox)
        NetworkClearVoiceChannel()
        NetworkSetVoiceActive(voiceEnabled)
        local playersTalking = {'empty'}
        if voiceEnabled then
            local count = 1
            for i=0, 128 do
                if NetworkIsPlayerTalking(i) then
                    playersTalking[count] = GetPlayerName(i)
                    count = count + 1
                end
            end
            if playersTalking[1] ~= "empty" then
                displayText("Currently talking:", 0, 255, 255, 255, 255, 0.5, 0.0)
                count = 0
                for k,v in pairs(playersTalking) do
                    displayText("~f~" .. v, 0, 255, 255, 255, 255, 0.5, 0.025 + (0.025*(count)))
                    count = count + 1
                end
            end
        end
    end
end)

needs to be 128 not 64 and it cant be 256 for some reason

Yes it can be 256… You just need to check if the network player is actually active.

Its good but, when you do /voice distance, it changes for everyone on the server.

  • it would be on key, like shift+g.

is there a way to block the default gta voicechat without any plugin or with this plugin?
cause im using tokovoip and people still can talk in the gta default voicechat and now im searching a way to block the gta voicechat

thank you in advance

@Vespura what do i type in to make it global? i can’t figure it out.
also how do i take the km/h off of the script so it is only mph and fuel gauge

What resource are you talking about?

Never mind. I figured it out. :+1:

Would there be a way or possibility of adding different “Channels” that can be used for EMS/Police/Dispatch/etc… at all?

What is the button to use voice chat?

You have to set it in the in-game settings.
Go To Settings > Voice Chat > Set It To Push To Talk > Assign The Button You Want To Use.

How do i set this up so i can see who is Currently Talking?

Ok so say I am running a LEO server. Is there a way to have the proximity setting close, and then also have a button for like global. For example the global would be like radio to call out location and such? But you can only speak to other officers if you are around them? Just thinking out loud I’m new to this. Thanks for the help

Anyone know what i would have to do to get it so i can change the proximity with a key?

its not working : )

you would have to add a IsControlJustReleased for all the proximities, i recommend using gamz-voice tbh because it uses shift + h and it doesnt require esx like esx_voice does!

Did you start it in your server.cfg?