No, I mean where/how do they get called the very
first time. The imessages plugin init is:
Code:
public plugin_init()
{
register_plugin("Info. Messages", AMXX_VERSION_STR, "AMXX Dev Team")
register_dictionary("imessage.txt")
register_dictionary("common.txt")
register_srvcmd("amx_imessage", "setMessage")
register_cvar("amx_freq_imessage", "30")
new lastinfo[8]
get_localinfo("lastinfomsg", lastinfo, 7)
g_Current = str_to_num(lastinfo)
set_localinfo("lastinfomsg", "")
}
I see its called from within the plugin with a task in the
setMessage routine after the first call. But I can't figure out where or how the first amx_imessage command is called. And the amx_scrollmsg is the same way. Its no big deal, I'm just wondering.
__________________