[Release] Better voice chat (no more voices through walls)

voicechat

#1

Hello everyone, I’m releasing a lite version of my “custom voip” resource.
This time it is in lua.

This version provides a better 3D voice chat of the current built-in GTA:O VOIP.
It is obviously, a standalone and optimized resource.

Commands

F6 > toggle voice range

FYI

With this system you can build some new communication system without any others VOIP: phones, radio, megaphone etc… It doesn’t work on “hearing range” unlike NetworkSetTalkerProximity, the script transport your voice to others players.

I left the “only in vehicle” feature.

Preview (debug mode)

The title is a lie!

Useful natives

_NETWORK_OVERRIDE_SEND_RESTRICTIONS()
NETWORK_OVERRIDE_RECEIVE_RESTRICTIONS()

Download on Github

please like if you like it :upside_down_face:

This version is untested please report any issue.


#2

Nice m8 cant wait to test this


#3

Interesting, so it will override any vMenu VC?


#4

You’d have to disable vMenu’s VC.


#5

Ahhh okay thanks for the clarification!


#6

I have errors :

Line Error Voice Chat

done loading voice_chat in data file mounter class CfxCacheMounter.
Error resuming coroutine: client.lua:26: attempt to call a nil value (global ‘GetPlayers’)
stack traceback:
client.lua:26: in method ‘UpdateVoices’
client.lua:101: in function client.lua:80
EndpointMapper::HandleRequest: POST /gta5/11/gameservices/Telemetry.asmx/SubmitCompressed
EndpointMapper::HandleRequest: POST /gta5/11/gameservices/socialclub.asmx/GetPasswordRequirements
Error resuming coroutine: client.lua:26: attempt to call a nil value (global ‘GetPlayers’)
stack traceback:
client.lua:26: in method ‘UpdateVoices’
client.lua:63: in method ‘OnModeModified’
client.lua:126: in upvalue ‘UpdateVocalMode’
client.lua:144: in function client.lua:129


#7

Fixed thanks!


#8

Why release if it isn’t tested tho?


#9

Perhaps lack of people to test with or a minor change in the code hence “this version”.


#10

Yea i understand but still seems weird to me


#11

Because it is not my production version.
I have intentionally removed some feature and also the original script works on my gamemode and uses some functions that are not necessary in the file.


#12

Error resuming coroutine: client.lua:39: attempt to index a nil value (field 'Listeners") stack traceback:
client.lua:39: in method ‘UpdateVoices’
client.lua:111: in function client.lua:90

New error


#13

Fixed, sorry guys I should have tested it before :frowning:


#14

Works great now! THANK YOU FOR THIS!!!


#15

Only one thing To say :heart:


#16

Great release man!


#17

The voice is not working. i disabled esx_voice and vmenu voice chat [through the menu] and started to talking, me friend doesn’t heard me, i need any other script to have this or what?
and i don’t have any errors in the console


#18

You obviously need to disable all other voice scripts
and it is perfectly working on regular server (not onesync)


#19

i wiil try to clear cache + disable vcmenu from server config


#20

Bump , i have the dunko vrp pack installed , when i put this resource… it shows me the range on F6 but the chat doesn’t work that way , it’s still the default.