Raised This Month: $ Target: $400
 0% 

Message call originations


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 12-29-2007 , 21:33   Re: Message call originations
Reply With Quote #3

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.
__________________
=====================================
- My Plugins -
=====================================
Vet is offline
Send a message via MSN to Vet
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode