Spawn Protect SlayVersion 1.0Table of Contents----------------------------------------------------DescriptionCommands and CvarsInstallationDependenciesNotesDownload
Description----------------------------------------------------Provides spawn protection for players, and slaysplayers who attack spawn-protected teammates.
Commands and Cvars----------------------------------------------------
Cvarssm_sps_version Plugin version.
sm_sps_enable (Default 1) Enable or disable plugin (1 - enable, 0 - disable)
sm_sps_slay (Default 1) Slay players who attack spawn-protected teammates (1 - slay, 0 - don't slay)
sm_sps_sptime (Default 10.0) Spawn protection time (note: Spawn protection begins during freezetime)
sm_sps_spchangecolor (Default 1) Change the color of players who have spawn protection (1 - change color, 0 - don't change color)
sm_sps_removeonfire (Default 0) Remove spawn protection from a player if they fire their weapon (1 - remove protection, 0 - don't remove)
sm_sps_tred (Default 255) Red component of T spawn protect color
sm_sps_tgreen (Default 0) Green component of T spawn protect color
sm_sps_tblue (Default 0) Blue component of T spawn protect color
sm_sps_talpha (Default 128) Alpha component of T spawn protect color
sm_sps_ctred (Default 0) Red component of CT spawn protect color
sm_sps_ctgreen (Default 0) Green component of CT spawn protect color
sm_sps_ctblue (Default 255) Blue component of CT spawn protect color
sm_sps_ctalpha (Default 128) Alpha component of CT spawn protect color
Installation----------------------------------------------------Extract spslay_csgo.zip into the root game directory.Modify settings in /cfg/sourcemod/spslay.cfg.
Dependencies----------------------------------------------------
SDKHooks must be installed.Notes-----------------------------------------------------This plugin was done by the request of Bibby. Credits go to him for the idea.-I used Altex's
Deathmatch/SpawnProtect plugin as the basis for the code. Thanks Altex, you're the man! =)-It might work with other mods, but I've only tested on CS:GO. No guarantees.Download---------------------------------------------------- Attached Files
spslay_csgo.zip (14.0 KB)
Wyświetl pełny artykuł