Tidyup. master
author[furrycat] <furrycat@furryclan.net>
Sat, 23 May 2009 20:19:46 +0000 (16:19 -0400)
committer[furrycat] <furrycat@furryclan.net>
Mon, 1 Jun 2009 22:01:22 +0000 (18:01 -0400)
Fix Makefile to build death_exploit.smx.
Fix death_exploit to run autoexec.

Makefile
death_exploit.sp

index acde20e..b8aa99b 100644 (file)
--- 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
index 9bb4ead..f24fdc6 100755 (executable)
@@ -24,6 +24,8 @@ public OnPluginStart() {
   /* Set up cvars. */\r
   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);\r
 \r
+  AutoExecConfig(true, "death");\r
+\r
   /* Hooks. */\r
   HookEvent("player_first_spawn", player_first_spawn_callback);\r
   HookEvent("player_transitioned", player_transitioned_callback);\r