CrashDetect Problem
#1

Hey guys i've a problem.
Код:
[debug] AMX backtrace:
[debug] #0 003b2f3c in ?? (1) from xax.amx
[debug] #1 0021a934 in ?? (1) from xax.amx
[debug] #2 0013b59c in public JBC_OnDialogResponse (1, 1, 1, -1, 38456412) from xax.amx
[debug] #3 native CallLocalFunction () from samp03svr
[debug] #4 00013300 in public OnDialogResponse (1, 1, 1, -1, 38456372) from xax.amx
[debug] Run time error 4: "Array index out of bounds"
[debug]  Attempted to read/write array element at index 43 in array of size 43
Код:
        if(dialogid == 1)
	{
		if(response)
		{
		    if(Find(Ch[playerid][pass],MD5_Hash(inputtext))) LoadCh(playerid);
		    else
			{
				ShowPlayerDialog(playerid, 1, DIALOG_STYLE_PASSWORD, "Login", "{FFFFFF}Input your pass for login.", "Login", "Exit");
				lright[playerid]++;
			}
		    if(lright[playerid] == 3) Kick(playerid);
		}
		else Kick(playerid);
	}

stock Find(text[], text2[])
{
    if(strfind(text, text2, true) == -1) return 1;
    return 0;
}
Reply


Messages In This Thread
CrashDetect Problem - by memurt - 05.11.2016, 18:02
Re: CrashDetect Problem - by Misiur - 05.11.2016, 18:14
Re: CrashDetect Problem - by memurt - 05.11.2016, 20:01
Re: CrashDetect Problem - by Konstantinos - 05.11.2016, 21:00
Re: CrashDetect Problem - by memurt - 06.11.2016, 07:50
Re: CrashDetect Problem - by memurt - 06.11.2016, 08:25
Re: CrashDetect Problem - by memurt - 06.11.2016, 14:33

Forum Jump:


Users browsing this thread: 1 Guest(s)