About This File
Commands and Cvars
----------------------------------------------------
Cvars
sm_projectile_view_auto_update (Default 1) Automatically update plugin (requires Updater)
sm_spslay_version Plugin version.
sm_spslay_enable (Default 1) Enable or disable plugin (1 - enable, 0 - disable)
sm_spslay_time (Default 10.0) Sets the amount of seconds players will be protected from getting hurt on their respawn.
sm_spslay_slay (Default 1) Slay players who shoot spawn-protected teammates (1 - slay, 0 - don't slay)
sm_spslay_removeonfire (Default 0) Removes spawn protection if player fires (1 - remove, 0 - don't remove)
sm_spslay_changecolor (Default 1) Change color on spawn protected players (1 - custom colors, 0 - don't change)
sm_spslay_tred (Default 255) Red component of T spawn protect color
sm_spslay_tgreen (Default 0) Green component of T spawn protect color
sm_spslay_tblue (Default 0) Blue component of T spawn protect color
sm_spslay_talpha (Default 128) Alpha component of T spawn protect color
sm_spslay_ctred (Default 0) Red component of CT spawn protect color
sm_spslay_ctgreen (Default 0) Green component of CT spawn protect color
sm_spslay_ctblue (Default 255) Blue component of CT spawn protect color
sm_spslay_ctalpha (Default 128) Alpha component of CT spawn protect color
Installation
----------------------------------------------------
If you haven't already, install SDKHooks.
Place spslay.smx into your /addons/sourcemod/plugins directory.
Modify settings in /cfg/sourcemod/spslay.cfg. (This will be auto-generated the first time you use the plugin)