Приветствую. Из-за чего дебажит "Crashdetect"?
Есть таймер, в таймере проверка:
В curpweap хранится ID оружия. GetPlayerWeapon - стандартная функция.PHP код:
if(GetPlayerWeapon(playerid) != curpweap[playerid]){}
А Crashdetect все равно ругается:
PHP код:
22:27:32 > [debug] AMX backtrace:
22:27:32 > [debug] #0 000f97d8 in public UpdateTimers () from gm.amx
22:27:32 > [debug] Run time error 4: "Array index out of bounds"
22:27:32 > [debug] Accessing element at index 100 past array upper bound 99