Custom Voice Channels
6 Attachment(s)
Description:
This is a Voice Channel plugin where you can create your own voice channels, and players can join them by typing /channel. They cannot hear anybody who is in a different channel than they are in, and they cannot talk to anybody that they are in a different channel than they are in. They are auto-prompted for a channel when they enter the server. A text file is provided with a list of default channels. You can change them by just changing the list of channels that you would like. People are defaulted to the first channel in the list. Client Commands: /channel - Opens channel menu. CVars: cvc_display_players <0/1> <default:1> - Display how many players are in each channel. cvc_admin_voice <0/1> <default: 0> - If everybody hears when an admin speaks cvc_display_on_connect <0/1> <default:0> - Whether or not to display the channels menu on connect. Changelog: Code:
June 12, 2011 - v1.0 - Plugin Release nikhilgupta345 - Code MAUGHOLD - Original Idea: http://forums.alliedmods.net/showthread.php?t=114172 ConnorMcLeod - Fixing file path. Also using trim and remove_quotes. DeLiriuM - Suggestion for Password-Protected channels. Fysiks: Small Optimizations Xalus: Player amount display idea Installation: -Click on 'Get Plugin' below -Place 'custom_voice_channels.amxx' into your plugins folder -Download the channels.ini from below -Place that file into your configs folder -Customize as needed channels.ini Code:
"channel name" "channel password" Any Suggestions/Comments/Code Optimizations feel free to post below. If you have another plugin that shows menu on join on DOD: http://forums.alliedmods.net/showpos...2&postcount=13 |
Re: Custom Voice Channels
Quote:
|
Re: Custom Voice Channels
Copy + Paste fail :)
Fixed. |
Re: Custom Voice Channels
Sweet nikhilgupta345: you're the man.
I will test it ASAP. I assume this will work for all Mods correct ? |
Re: Custom Voice Channels
Code:
Code:
In file parsing, empty lines or commented lines checks wouldn't hurt :) Also, you may send trim and remove_quotes after having retrieved line content. |
Re: Custom Voice Channels
@ConnorMcLeod: Fixed. Also added what you suggested. Thanks :)
Commented the code a little as well. |
Re: Custom Voice Channels
Interesting plugin.
|
Re: Custom Voice Channels
Quote:
|
Re: Custom Voice Channels
Quote:
|
Re: Custom Voice Channels
Suggestion: Add an option, to put a password on the specific channel.
In channels.ini, after the name of the channel the password and in-game, after selecting the channel you want, to prompt a password. Good job. |
All times are GMT -4. The time now is 10:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.