Raised This Month: $51 Target: $400
 12% 

welcome_message


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KamiN
Senior Member
Join Date: Jun 2011
Old 06-19-2011 , 07:09   welcome_message
Reply With Quote #1



Quote:
L 06/18/2011 - 14:401: [AMXX] Displaying debug trace (plugin "xredirect.amxx")
L 06/18/2011 - 14:401: [AMXX] Run time error 4: index out of bounds
L 06/18/2011 - 14:401: [AMXX] [0] xredirect.sma::welcome_message (line 2424)
Code:
public welcome_message(id[])
{
    new nID = id[0]
    if (is_user_connected(nID)) // make sure the player didn't already disconnect within the set_task delay
    {
        new nLastServer = g_nLastServer[nID - 1]
        if ((nLastServer >= 0) && (nLastServer != g_nOwnServer) && (nLastServer < MAX_SERVERFORWARDS))
        {
            new sAnnounceText[MAX_WELCOME_LEN]
            format(sAnnounceText, MAX_WELCOME_LEN - 1, "%L", nID,  "MSG_REDIRFROM", g_saServerNames[g_nOwnServer],  g_saServerNames[nLastServer])
            if ((get_pcvar_num(cvar_retry) == 1) && (get_pcvar_num(cvar_show) == 1))
                format(sAnnounceText, MAX_WELCOME_LEN - 1, "%s^n%L", sAnnounceText, nID, "MSG_RETRY_BACK_ANNOUNCE")
            
            set_hudmessage(000, 100, 255, -1.0, -1.0, 0, 0.0, 10.0, 0.5, 2.0, 1)
            show_hudmessage(nID, sAnnounceText)
        }
    }
}
KamiN is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 06-19-2011 , 07:20   Re: welcome_message
Reply With Quote #2

If it is really a problem with the plugin, you should still read this sticky:

http://forums.alliedmods.net/showthread.php?t=133929
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
Reply



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 12:59.


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