From: [furrycat] Date: Sat, 23 May 2009 20:19:46 +0000 (-0400) Subject: Tidyup. X-Git-Url: http://git.furryclan.net/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=furrycat%2Fl4d.git Tidyup. Fix Makefile to build death_exploit.smx. Fix death_exploit to run autoexec. --- diff --git a/Makefile b/Makefile index acde20e..b8aa99b 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ RM=rm -f all: version smx -smx: limited_weapons.smx +smx: death_exploit.smx limited_weapons.smx version: @./mkversion diff --git a/death_exploit.sp b/death_exploit.sp index 9bb4ead..f24fdc6 100755 --- a/death_exploit.sp +++ b/death_exploit.sp @@ -24,6 +24,8 @@ public OnPluginStart() { /* Set up cvars. */ death_hp = CreateConVar("death_hitpoints", "1", "Hitpoints for players who were dead at the end of the last map.", FCVAR_NONE, true, 0.0, true, 100.0); + AutoExecConfig(true, "death"); + /* Hooks. */ HookEvent("player_first_spawn", player_first_spawn_callback); HookEvent("player_transitioned", player_transitioned_callback);