Player data problem
#1

I use crashdetect to detect my problems, but I get this error:
PHP Code:
[debugRun time error 4"Array index out of bounds"
[debug]  Attempted to read/write array element at index 2 in array of size 2
[debugAMX backtrace:
[
debug#0 00062e8c in public OnLogin (0) from gm.amx 
which is strange because the mysql query is correct. Please help!

EDIT: I changed mysql to R41-4.
Reply
#2

As it says, your declared array has size of 2 and you are trying to insert values at index [2] means 3rd value as index in array starts from 0. Increase the size of the array to solve the problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)