From 94db0e72a7b37f2f136591706e5bebcd53f589d5 Mon Sep 17 00:00:00 2001 From: "[furrycat]" Date: Sat, 23 May 2009 16:19:46 -0400 Subject: [PATCH] Tidyup. Fix Makefile to build death_exploit.smx. Fix death_exploit to run autoexec. --- Makefile | 2 +- death_exploit.sp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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); -- 2.7.4