From 74c6290dc0d27e7b0d1d8f76c0159b1be4966665 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Wed, 25 Apr 2007 17:24:02 +0000 Subject: [PATCH] imessage and admin plugins compile again --- plugins/admin.sma | 4 ++-- plugins/imessage.sma | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/admin.sma b/plugins/admin.sma index 72c87942..14fd736b 100755 --- a/plugins/admin.sma +++ b/plugins/admin.sma @@ -41,7 +41,7 @@ #include #endif -new Vector:AdminList; +//new Vector:AdminList; new AdminCount; @@ -112,7 +112,7 @@ public plugin_init() server_cmd("exec %s/sql.cfg", configsDir) // Create a vector of 5 cells to store the info. - AdminList=vector_create(5); + //AdminList=vector_create(5); #if defined USING_SQL diff --git a/plugins/imessage.sma b/plugins/imessage.sma index f880eb64..afe495c2 100755 --- a/plugins/imessage.sma +++ b/plugins/imessage.sma @@ -93,7 +93,7 @@ public infoMessage() client_print(0, print_console, "%s", Message); ++g_Current; - new Float:freq_im = get_cvar_float(amx_freq_imessage); + new Float:freq_im = get_pcvar_float(amx_freq_imessage); if (freq_im > 0.0) set_task(freq_im, "infoMessage", 12345);