Raised This Month: $32 Target: $400
 8% 

FlashProtect


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
bl4nk
SourceMod Developer
Join Date: Jul 2007
Plugin ID:
939
Plugin Version:
1.3.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    18 
    Plugin Description:
    Damage players who flash their own team
    Old 06-06-2009 , 20:39   FlashProtect
    Reply With Quote #1

    FlashProtect
    Damage players who flash their own team.

    ConVars:
    sm_flashprotect_enable 1 - Enable/Disable the plugin.
    sm_flashprotect_damage 3 - Damage to do per second of flashed.
    sm_flashprotect_duration 1.5 - Maximum duration that a flash can last for before it's punishable.
    sm_flashprotect_message 1 - Enable/Disable messaging teammates when flashed.
    sm_flashprotect_minhealth 20 - Minimum health a player will be punished to (setting the cvar to 0 disables this feature).

    Installation:
    Download the plugin and place it in your ~/cstrike/addons/sourcemod/plugins/ folder.
    Download the translation file and place it in your ~/cstrike/addons/sourcemod/translations/ folder.
    Manually load the plugin, change the map, or restart the server for the plugin to be loaded.
    Configure the cvars listed above in an executed config file (server.cfg is fine) to customize the plugin to your liking.

    Notes:
    Thanks to *XYZ*SaYnt for his original TFlash ES plugin.

    Changelog:
    • 1.0.0
      • Initial release.
    • 1.1.0
      • Fixed bug where spectators were counted as being flashed.
      • Added sm_flashprotect_message cvar to control whether or not teammates receive a message when someone flashes their team.
    • 1.2.0
      • Changed damage to slap damage so a player will notice it.
      • Fixed the "{i}" showing up in the team messages.
    • 1.3.0
      • Added sm_flashprotect_minhealth cvar.
    Attached Files
    File Type: sp Get Plugin or Get Source (flashprotect.sp - 3252 views - 5.2 KB)
    File Type: txt flashprotect.phrases.txt (410 Bytes, 1485 views)

    Last edited by bl4nk; 07-04-2009 at 02:46.
    bl4nk is offline
     


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 14:51.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode