AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Trash (https://forums.alliedmods.net/forumdisplay.php?f=22)
-   -   FlashProtect (https://forums.alliedmods.net/showthread.php?t=95187)

bl4nk 06-20-2009 16:34

FlashProtect
 
2 Attachment(s)
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.

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.


All times are GMT -4. The time now is 07:21.

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