plugins using localinfo paths now

This commit is contained in:
Pavol Marko
2004-03-25 16:52:04 +00:00
parent 63e1d7e43b
commit a3c9489360
11 changed files with 54 additions and 20 deletions

View File

@ -45,13 +45,15 @@
new g_cstrikeRunning
#if defined READ_FROM_FILE
new g_motdFile[] = "addons/amxx/configs/conmotd.txt"
new g_motdFile[64]
#endif
public plugin_init()
{
register_plugin("Welcome Message","0.16","AMXX Dev Team")
g_cstrikeRunning = is_running("cstrike")
get_configsdir(g_motdFile, 63);
format(g_motdFile, 63, "%s/conmotd.txt", g_motdFile);
}
public plugin_cfg()