/*
* Spawn Protection (olds.ro workshop card LIB-1960)
*
* On the maps named in a list, a player who spawns takes no damage for a few
* seconds and glows in a team colour shell (red for the Terrorists, blue for
* the Counter-Terrorists) so everyone can see it. The protection ends early
* the moment the player attacks: pressing fire (+attack), a shot, a grenade,
* and also a knife attack unless olds_spawnp_knife is 0. It also ends when
* the player dies.
*
* When a player spawns during the freeze time, the seconds are counted from
* the end of the freeze time, because nobody can be shot before that.
* Every spawn starts a fresh protection, so a player who changes team gets
* the full time again on the next spawn.
*
* Cvars (saved with their descriptions in configs/plugins/olds_spawnprotect.cfg
* the first time the plugin starts):
* olds_spawnp_time 2.0 Seconds of protection (0.1 - 30).
* olds_spawnp_maps "aim_,awp_,fy_" Comma separated map name beginnings
* where the protection is used. Empty =
* every map. Checked at every spawn.
* olds_spawnp_glow 1 1 = show the glow shell while protected.
* olds_spawnp_knife 1 1 = a knife attack ends the protection
* too, 0 = only shots and grenades do.
* olds_spawnp_falls 0 1 = fall damage is blocked as well,
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.