Closed phumberdroz closed 3 years ago
This was fixed in example resources repo. https://github.com/altmp/altv-example-resources/blob/master/voice/server/index.mjs
Cheers,
I just downloaded from the official altv page today and there the voice-chat example ist still broken.
Best Regards.
What exactly is there broken?
You probably just didn't enable the voice chat in your server cfg
Nah, I downloaded the example files from the official altv page and there seems to be the old version linked. So the example in this git repo works but the old one on the official downloads page is still the same which was missing the new statement. Noticed it is older cause I downloaded/cloned both this git repo and the altv examples from the download page.
Cheers.
Eeeeer, I am not sure if it may be that the change stated in this issue right here is still not in release? I got the release build incl. examples - but its a 1 year old issue. Maybe double check if just the files from the downlods page are outdated. For Downloading the server incl. examples I ticked all except C# Module, Branch = Release and Server = Windows.
Hope that helps
Show your server.cfg @Quantum2707
I am not using it anymore, but as I tried the settings were the same except of the resources array
name: 'WireV-RP.de Hardcore Roleplay - LOCAL TEST'
host: 0.0.0.0
port: 7788
players: 128
#password: ultra-password
announce: false
#token: YOUR_TOKEN
gamemode: Roleplay
website: wirev-rp.de
language: de
description: 'alt:V Sample Server'
modules: [ js-module ]
resources: [
example
]
voice: {
bitrate: 64000
}
debug: true
Wrong example resources were served, when they should be from this repo https://github.com/altmp/altv-example-resources. It's fixed now.
Voice chat example resource is broken.
alt.createVoiceChannel
get s called which is not the way to create a channel it should benew alt.VoiceChannel
Expected Behavior
Example resource works out of the box
Current Behavior
does not work