This plugin is allowing the server owner to block the in-game radio commands that are accessible by pressing z/x/c [default keys].
If the game is not "Counter-Strike: Source" the plugin will fail on loading, and a error will be logged.
The plugin is easy to write, Ive searched one and didn't found so I wrote that.
I just found a plugin that blocking radio spam, and I wrote a plugin that blocking all radio commands, not spamming them.
Help me translate the plugin to other languages!
The plugin will automatically create/execute the config file in cfg/sourcemod named blockradio.cfg.
English - by me
Hebrew - by me
Hungarian - by
blue zebra.
Spanish - by
Franc1sco.
Russian - by BOBSON.
// Is "Block Radio" enabled?
// Default - 1
// Minimum - 0.0
// Maximum - 1.0
sm_blockradio_enabled
// Is notifying about blocked radio messages enabled?
// Default - 1
// Minimum - 0.0
// Maximum - 1.0
sm_blockradio_message
// Is "Fire in the hole" radio sound is supressed??
// Default - 1
// Minimum - 0.0
// Maximum - 1.0
sm_blockradio_grenade
// "Block Radio" Plugin version
// Default - Plugin version
sm_blockradio_version
AMX Mod X version.
Download the wanted file and copy it to "addons/sourcemod/plugins" then:
Reload the server/change map/execute "sm plugins load blockradio" in the server console/rcon.
Download
blockradio.phrases.txt and place it in "addons/sourcemod/translations".
blockradio.smx - Locally compiled in my computer, built-in updater support.
blockradio.sp - Locally compiled in alliedmods.net, no built-in updater support. Compile in your computer using updater.inc to get updater support if you didn't downloaded
blockradio.smx.
Install 1 of the required extensions to use the
Updater.
Install
Updater. [If you dont have it yet]
Reload the server. [I think you can reload the map/plugin/updater]
It will automatically update!
SourceMod 1.3+.
Updater for automatic updates/compile.
2.0.2 -
Fixed a possible client error.
Changed description to "Blocks all of the radio commucations".
Compability to download the .smx from the forum's thread.
Cleaner method to print the chat message.
2.0.1 -
Fixed an "out of bounds" error.
2.0.0 -
Fixed cvars did nothing.
Optimizations.
Made the commands in a loop, shorter code
Change a capital letter to an normal letter in the English phrase
1.9.0 -
+ Spanish translations added.
* Fixed a console spamming each server startup.
1.8 -
+ Hungarian translations added.
1.7 -
* Changed the code to even neater.
1.6 -
* Neater code.
1.5 -
+ Flag for version cvar. [notify flag]
1.4 -
+ Console variable to suppress "Fire in the hole" sound.
+ Double check for fire in the hole removal.
1.3 -
+
Updater URL Changed.
1.2 -
+
Updater support.
1.1 -
+ Translations added.
+ Console variable for messages after pressing a radio added.
+ Config in cfg/sourcemod added.
* Changed the version console variable to not be wrote into .cfg file.
1.0 -
Initial Release.
+ Added
- Removed
* Fixed/Changed