Works in the same fashion as SourceMod's chat anti-flood plugin. Each time a player vocalizes they receive a token if they have recently vocalized.
Once they have 3 tokens, their ability to vocalize is restricted and a penalty time is applied. A token is removed when players vocalize without flooding. This means tokens are slowly removed.
In other words, if a player spam vocalizes they will quickly found them self gagged.
This plugin also prevent flooding of world initiated vocalizes, such as continually putting down explosive ammo or use adrenaline.
Stops vocalize flooding.
Code: vocalize_flood_access - Use this for command overrides. Allows admins to flood with player initiated vocalizes
world_vocalize_flood_access - - Use this for command overrides. Allows admins to flood with world initiated vocalizes
Known Problems / Things to Notice:
Code: // Amount of time between player initiated vocalizes for a token to be added (Max 3 tokens before being marked as flooding)
// Amount of penalty time before player can initialize another vocalize after flooding
// Amount of time between forced vocalizes from player for a token to be added (Max 3 tokens before being marked as flooding)
// Amount of penalty time before forced vocalizes will be heard from the player again after flooding
- This plugin require Scene Processor.
Code: Version 1.0 2014-06-06
Attached Files vocalizeantiflood.zip (19.0 KB)
Wyświetl pełny artykuł