Promoveaza serverul

CSB Spawn Protection v1.0.0

CSB Spawn Protection gives every player a short burst of invulnerability the moment they respawn, so they cannot be instantly gunned down before they even load in. This is essential on DM and CSDM servers where players respawn constantly and spawn-camping otherwise ruins the round.

How it works

On Ham_Spawn the player gets set_user_godmode plus a team-coloured glow shell and a translucent model, so everyone can see at a glance who is still protected and will not waste bullets on them. The protection is removed the instant the player fires (csb_spawnprot_breakfire), optionally when they move (csb_spawnprot_breakmove), or when the timer expires — whichever comes first.

Features

  • Configurable duration via csb_spawnprot_time (fractional seconds allowed).
  • Team-coloured glow (red for T, blue for CT) so protection is obvious to other players.
  • Breaks on first shot and/or on first movement, both cvar-controlled.
  • Rendering and godmode are always cleanly restored, even on disconnect mid-protection.

Installation

  1. Compile and copy csb_spawn_protection.amxx into addons/amxmodx/plugins/.
  2. Add it to addons/amxmodx/configs/plugins.ini.
  3. Change the map.
Instalare
1. Put csb_spawn_protection.amxx in addons/amxmodx/plugins/
2. Add it to plugins.ini
3. Change map
Cvar-uri5
CVARDefaultDescription
csb_spawnprot_enabled1Enable or disable spawn protection.
csb_spawnprot_time3.0Protection duration in seconds.
csb_spawnprot_breakfire1End protection when the player shoots.
csb_spawnprot_breakmove0End protection when the player moves.
csb_spawnprot_alpha160Model transparency (0-255) while protected.
Evaluare
Încă nu are evaluări