Debug:
L 11/13/2012 - 21:53:36: Start of error session. L 11/13/2012 - 21:53:36: Info (map "de_dust") (file "addons/amxmodx/logs/error_20121113.log") L 11/13/2012 - 21:53:36: [AMXX] Displaying debug trace (plugin "xredirect.amxx") L 11/13/2012 - 21:53:36: [AMXX] Run time error 4: index out of bounds L 11/13/2012 - 21:53:36: [AMXX] [0] xredirect.sma::welcome_message (line 2005)Funkcja:
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]
/*2005 ->>>*/ 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)
}
}
}
Napisałem na alliedmods ale pewnie odpiszą no "steam = no support" Użytkownik PimP517 edytował ten post 14.11.2012 04:50


Dodatki SourceMod



Temat jest zamknięty









