Smoke Limiter
Posted: Mon Nov 22, 2021 9:48 am
Smoke Limiter
Version 1.0
by Dores
Description:
This plugin was mainly created for small maps.
It allows admins to limit the amount of thrown Smoke Grenades at the same period of time to decrease lags. This plugin does NOT limit Smoke Grenades buying.
If, for example, the limit is 5, and 5 players threw 1 Smoke Grenade each, it won't allow any more Smoke Grenades to be thrown until 1 or more exploded Smoke Grenades will disappear.
There's also the ability to block the "Fire in the hole!" text and sound if the limit has reached.
A notification message will be shown to a player trying to throw a Smoke Grenade with the limit reached.
Note: Supports the Virus SmokeNade plugin.
CVars:
smoke_limiter_limit - The amount of allowed thrown Smoke Grenades. Set 0 to disable the plugin.
smoke_limiter_nosound - If set to 1, blocks "Fire in the hole!" sound if the limit has reached.
smoke_limiter_notext - If set to 1, blocks "Fire in the hole!" text if the limit has reached.
Required Modules:
FakeMeta
Credits:
VEN - Radio text message's arguments.
regalis - Radio sound message's arguments.
Enjoy.
get plugin
get source
Version 1.0
by Dores
Description:
This plugin was mainly created for small maps.
It allows admins to limit the amount of thrown Smoke Grenades at the same period of time to decrease lags. This plugin does NOT limit Smoke Grenades buying.
If, for example, the limit is 5, and 5 players threw 1 Smoke Grenade each, it won't allow any more Smoke Grenades to be thrown until 1 or more exploded Smoke Grenades will disappear.
There's also the ability to block the "Fire in the hole!" text and sound if the limit has reached.
A notification message will be shown to a player trying to throw a Smoke Grenade with the limit reached.
Note: Supports the Virus SmokeNade plugin.
CVars:
smoke_limiter_limit - The amount of allowed thrown Smoke Grenades. Set 0 to disable the plugin.
smoke_limiter_nosound - If set to 1, blocks "Fire in the hole!" sound if the limit has reached.
smoke_limiter_notext - If set to 1, blocks "Fire in the hole!" text if the limit has reached.
Required Modules:
FakeMeta
Credits:
VEN - Radio text message's arguments.
regalis - Radio sound message's arguments.
Enjoy.
get plugin
get source