[Help] VoIP not working

Hello, my friends!

Citizen.CreateThread(function()
while true do
Citizen.Wait(0)

	if PlayerID then

		if NetworkIsSessionActive() then
			if IsControlPressed(0, Teclas['K']) then
				NetworkSetTalkerProximity(50.0)
				NetworkSetVoiceActive(true)

				drawText('Falando (50m)...', 0.0865, 0.75, 'Ubuntu Light', { 95, 230, 50 }, 255, 0.40)
			else
				NetworkSetVoiceActive(false)

				drawText('Pressione K para falar', 0.0865, 0.75, 'Ubuntu Light', { 240, 240, 240 }, 255, 0.40)
			end
		end

	end

end

end)

That’s my code to allow players talk with other players, but it doesn’t working. Someone can help me? There’s a problem on NetworkSetVoiceActive?

Thanks!