mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
imessage and admin plugins compile again
This commit is contained in:
parent
a93ef02efa
commit
74c6290dc0
@ -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
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user