File not found

I have this issue which is preventing me from joining my server


Couldn't include file 'includes\modules\voicechannel.lua' (File not found) (@addons/voiceradio/lua/autorun/radio_init.lua (line 20))

Lua Error:

[ERROR] addons/voiceradio/lua/autorun/radio_init.lua:20: Module not found!
1. require - [C]:-1
2. unknown - addons/voiceradio/lua/autorun/radio_init.lua:20

The file is in addons/voiceradio/lua/autorun/includes/modules it used to be in includes/modules/ BUT it didn’t work there with the same exact issue.
Any ideaS?

Is this an old addon? Garry changed some things with Lua so some things may need to be added to the Lua code for this to work. Can you post the code for the radio_init.lua file?

This is radio_init.lua
[lua]require(“voicechannel”)

voicechannel.CreateBand(“Radio”)

resource.AddFile(“models/mic.mdl”)
resource.AddFile(“materials/models/Mic/mic.vmt”)[/lua]

This doesn’t look like all of the code from that file. It says the error is at line 20.

You’re missing the module voicechannel or it isn’t named correctly, it should be gmsv_voicechannel_win32 (or _linux if the server is using linux)