View Single Post
Plugin Info:     Modification:          Category:          Approver:   Hawk552 (427)
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-14-2008 , 13:23   Team Flash Punish v1.1.1 ( 28jan12 )
Reply With Quote #1

Team Flash Punish




.: Description :.

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


.: Notes :.


Install nades_api in order to make this plugin work (and compile) : https://forums.alliedmods.net/showth...79#post1920279



Attached Files
File Type: sma Get Plugin or Get Source (teamflash_punish.sma - 3751 views - 6.3 KB)
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 03-26-2013 at 02:21.
ConnorMcLeod is offline