imessage and admin plugins compile again

This commit is contained in:
Scott Ehlert 2007-04-25 17:24:02 +00:00
parent a93ef02efa
commit 74c6290dc0
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@
#include <sqlx> #include <sqlx>
#endif #endif
new Vector:AdminList; //new Vector:AdminList;
new AdminCount; new AdminCount;
@ -112,7 +112,7 @@ public plugin_init()
server_cmd("exec %s/sql.cfg", configsDir) server_cmd("exec %s/sql.cfg", configsDir)
// Create a vector of 5 cells to store the info. // Create a vector of 5 cells to store the info.
AdminList=vector_create(5); //AdminList=vector_create(5);
#if defined USING_SQL #if defined USING_SQL

View File

@ -93,7 +93,7 @@ public infoMessage()
client_print(0, print_console, "%s", Message); client_print(0, print_console, "%s", Message);
++g_Current; ++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) if (freq_im > 0.0)
set_task(freq_im, "infoMessage", 12345); set_task(freq_im, "infoMessage", 12345);