[CS:GO] Advanced SpawnProtection (v.4.2.0, 11/01/2020)

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

[CS:GO] Advanced SpawnProtection (v.4.2.0, 11/01/2020)

Post by greenie »

Advanced Spawn Protection [CS:GO]

By Timid | cra88y


Explanation

- A source mod plugin simply made to make spawn protection more user-friendly, With the idea in mind for it to be more reliable for the servers to run with the intention of fewer memory leaks.

Custom Features
Colors players who are spawn protected
Join grace time for unprotected players
Shows hud text when players are protected
Notifys the player that they have spawn protection
Capability to remove spawn protect on weapon fired
Capability to remove spawn protect on players who control bots
Rainbow hud message for spawn protect time
Game Supported
CS:GO

Change-log
None currently at the moment

ConVars
sm_spawnprotect_time - Sets how much time is left for spawn protection default 14
sm_spawnprotect_rainbowhud - Sets whether rainbow menu is enabled. (0 off, 1 on) default 1
sm_spawnprotect_botcontrol - Should bots receive spawn protection if another player takes control of them. (0 off, 1 on) default 1
sm_spawnprotect_notifystart -Should we notify users that they have spawn protection. (0 off, 1 on) default 1
sm_spawnprotect_ffamode - Should we set colors for ffa or teams. (0 off, 1 on) default 1
sm_spawnprotect_colormodels - Should we set colored player models. (0 off, 1 on) default 1
sm_spawnprotect_endonattack - Should we disable spawn protect on attack. (0 off, 1 on) default 1
Commands
/rainbow default admin flag ADMFLAG_RCON - Allows the player models on spawn to go into a loop of R G B

Things To Add
Allow players to set custom spawn protect model highlighting color.
How to Install
Compile AdvancedSpawnProtect.sp
Donwload AdvancedSpawnProtect.smx and put into /csgo/addons/sourcemod/plugins
Configure settings by editing /cfg/sourcemod/AdvancedSpawnProtection.cfg

.zip
Post Reply

Return to “General Purpose”