Deathrun Manager for cs and cz, well you cant play deathrun in other games
This plugin manages your deathrun server by doing the following things:
Will automatically transfer one RANDOM person from the Counter-Terrorists team over to the Terrorists
Will turn off/on radio commands (with cvar)
Will turn off/on spraying (for those noobs who use spray on breakables)
Will restart round if no terrorist detected
Will check every 15 secs & on player disconnect (if a Terrorist disconnects then will restart round)
Will remove players weapons on new round.
Life System
You will gain one life point when you will kill enemy, This life point will be spend when you die.
.: Cvars :.
< 1 = on || 0 = off >
Turn on/off the plugin deathrun_toggle 1/0<default: 1>
Turn on/off the spray blocker deathrun_spray 1/0<default: 1>
Turn on/off the radio commands blocker deathrun_radio 1/0<default: 1>
Turn on/off giving USP for CT's deathrun_giveusp 1/0<default: 1>
Fixed spraying at roundstart even when spray is blocked
v3.0.1
Fixed not-killing bot when lifes system was disabled
v3.0
Bot wont join anymore if on map only 1 spawn for terrs, prevent dying
Blocked death msg of fake player
Saved many memory in semiclip method, and in other parts too
Added 'No terrorists fall damage'
Added Thinking entity instead of task for terrorist checking
When radios is blocked, the menu doesnt show anymore
Fixed weapons pickuping, happened what you can't pickup weapons sometimes
Added define for bot, now you can disable it by commenting 1 line, read below
Added g_szPrefix, now you can change [Deathrun] easily, read below
Older versions
v2.5
Removed timelimit stuff because it was too buggy (v2.4)
Added fakeplayer, now timelimit never resetts
Fixed small bugs
Forget to remove debug
Added cvar deathrun_gamename
v2.4
Finally timelimit stuff have been invented! Now after restart the timelimit wont reset, for example 15 minutes was played, mp_timelimit is 40, so after restart it will be set to 25, and after map changing it will reset
Sometimes deathrun manager was working even on non deathrun map o.0
Added smokegrenade on deathrun_gamerfun, since its needed there
Optimizations in code, now drm will use less cpu
A bit other way to block buying - less cpu usage
Totally new random terrorist system, now one terrorist can`t be twice
v2.3b
Fixed languges for msgs wich was printing for all players
v2.3a
Lifesystem bugfix (norespawning)
v2.3
Automatic cvar deathrun_toggle setted to 0 when map doesnt have deathrun_ prefix
Bugfix with /spec from amx_super, added some additional checks
Added colorchat messages
Added deathrun_blockkill cvar
Done more efficient way to block radio commands (no more cmds register)
Finally now all messages now multilang!
v2.2
Removed fakemeta stocks for faster communications
Fixed trigger_hurt fixer
Added deathrun_hauntedhouse protect from giving usp
Added delay for giving usp, because some maps have own managers to give knife, and my plugin was faster to give it, and map was stipping it
v2.1
Fixed deathrun_spray cvar.. it worked wrong
Fixed bug when restarting and there is no terrorist deteced
Fixed auto restart
v2.0
Fixed some things with life system
Added gamename changer
v1.6
Added Life System its currently in beta status, optimized plugin by Hawk552's notices, also updated trigger_hurt_fix again by Hawk552's notices, added hyd sync function, how hud messages cant be overwritten by others, added automatic round restart, added blockmoney cvar, when terrorist wins the round he will receive 3frags
v1.5
cleanup, fixed known bugs, added msg when not enought players, added deathrun_hidehud cvar, for removing/showing money & timer at players monitor
v1.4
removed buyzones, added gamename changer, now your server will have name Deathrun instead of Counter-Strike, if deathrun_toggle set to 0, now nothing will work, it was if you disable plugin, anyway some fucntions can work
v1.3
added cvar for giving usp or not, again fixed semiclip, added cvar for toggle semiclip, now usp giving only for ct's, T's have only knife, code optimization, MULTILANG updated
v1.2
added own semiclip, fixed "kill" command block - should work, cleanup code, fixed some small bugs
v1.1
temporary removed autojoin, changed the restart when no terr to randrom terr & kill all ct's, much better
v1.0
fixed language file, added the "kill" command block, changed some things from Exolent's hints
public client_connect(id)set_user_info(id, "_vgui_menus", "0");
Instead, hook event "VGUIMenu" like you did "ShowMenu".
2.
Code:
public menuteam(id)client_cmd(id, "slot2");
public menuclass(id)client_cmd(id, "slot5");
Instead, block the other menus that you hooked with PLUGIN_HANDLED, and here, do:
Code:
public menuteam(id){engclient_cmd(id, "jointeam", "2");
engclient_cmd(id, "joinclass", "5");
return PLUGIN_HANDLED;
public menuclass(id){engclient_cmd(id, "joinclass", "5");
return PLUGIN_HANDLED;
}
3. Usually in DeathRun servers, the Terrorist is random for first round, then the Terrorist is the CT that kills the Terrorist. If no CT wins, then the Terrorist stays.
You should add a cvar to be random or to follow CT actions.