mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
imessage and admin plugins compile again
This commit is contained in:
parent
a93ef02efa
commit
74c6290dc0
@ -41,7 +41,7 @@
|
||||
#include <sqlx>
|
||||
#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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user