This plugin punishes players who flash their teamates.
.: Features :.
- Restrict a player from throwing flash nades
- Punish a player who flashes his teamates
.: Cvars :.
tfp_count < Flags >
Count Type: Flags are additive (default : 3)
0: Don't count
1: Count semi flash
2: Count full flash
4: Also count when flasher is dead
tfp_max_count < X >
Restrict a player from throwing flash nades after X counted teamflash (see previous cvar) (def:10)
tfp_punish < Flags >
Punish Type: Flags are additive (default : 2)
0: Don't punish
1: Health reduction
2: Money reduction
tfp_health_amount < amount >
HPs reduction (def:5)
tfp_health_allow_kill < 0/1>
When HP reduction is on, allow to kill player (def:0)
tfp_money_amount < amount >
Dollars taken (def:200)
.: Modules/Api :.
Cstrike
Fakemeta
Hamsandwich
Nades Api
.: Changelog :.
Code:
v1.2.0 (26mar2012)
- Now requires nades api in oder to work
v1.1.1 (28jan2012)
- added cvar tfp_health_allow_kill
- little code adjustments
v1.1.0 (13mar2010)
- rewritten the plugin from the scratch
- added cash redution
- change slap punishment into health reduction punishment
- block flash buy instead of throw
v1.0.2 (09may08)
- fixed server crash when remove flash nade entities
v1.0.1 (18mar08)
- fixed error not updating the flasher counter, but flashed's one :P
v1.0.0 (14mar08)
- First release