Code: ConVars:
sm_radio_max_avg_duration
default: 3
The maximum average duration between radio messages that will still trigger a block.
sm_radio_max_blocks
default: 3
The maximum times a user can be blocked before being permanently blocked until map change. (0 = Never issue this sort of block)
sm_radio_log_blocks
default: 1
Log users blocked for spamming radio.Note:
This may or may not be useful for people and there might be a better plugin out there which achieve basically the same effect, but oh well. I coded the plugin so that I could figure out how to make plugins in SourceMod. I'm new to working in SourceMod so don't hate on me too much if the plugin primarily consists of sloppy nonsensical crap like code. :oops:
Attached Files

Wyświetl pełny artykuł