Errors OPD - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Errors OPD (
/showthread.php?tid=458810)
Errors OPD -
Binx - 18.08.2013
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
SaveUser(playerid);
LoggedIn[playerid] = 0;
return 1;
}
This is the only thing I have OnPlayerDisconnect.
This is the error from crashdetect:
Код:
[18:33:58] [debug] Run time error 4: "Array index out of bounds"
[18:33:58] [debug] Accessing element at index 48 past array upper bound 1
[18:33:58] [debug] AMX backtrace:
[18:33:58] [debug] #0 0000d3d4 in ?? () from YINI.amx
[18:33:58] [debug] #1 00031ac8 in public SSCANF_OnPlayerDisconnect () from YINI.amx
[18:33:58] [debug] #2 native CallLocalFunction () [00471e90] from samp-server.exe
[18:33:58] [debug] #3 00010850 in ?? () from YINI.amx
[18:33:58] [debug] #4 00005314 in public OnPlayerDisconnect () from YINI.amx
Re: Errors OPD -
Binx - 18.08.2013
Anyone?