Crashdetect - Дебаг
#1

Доброго времени суток, запустил краш детект, и он сразу мне показал ошибку. В чём проблема? может быть, помогите решить.

Код где ошибка:
PHP Code:
    if(drink_timer[playerid] != -1)
    {
        
KillTimer(drink_timer[playerid]);
        
drink_timer[playerid] = -1;
    } 
Ещё:
PHP Code:
GUI_adminmenu[s]             = PlayerText:INVALID_TEXT_DRAW
Сама ошибка:
PHP Code:
[07:39:34] [debugRun time error 4"Array index out of bounds"
[07:39:34] [debug]  Accessing element at index 100 past array upper bound 99
[07:39:34] [debugAMX backtrace:
[
07:39:34] [debug#0 000fa82c in Free_Valve (playerid=100) at E:\BAYRON ROLE PLAY\gamemodes\new.pwn:17986
[07:39:34] [debug#1 00238190 in public Itter_OnGameModeInit () at E:\BAYRON ROLE PLAY\gamemodes\new.pwn:33400 
Reply
#2

Проблема была решена. Тему можно закрыть. Извините.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)