30.12.2018, 08:09
(
Последний раз редактировалось qRazor; 30.12.2018 в 10:46.
)
Quote:
Код HTML:
SetTimer("OneSecTimer", 1000, true); |
EDIT(1): I have an idea I will take each function and I'll test it.
EDIT(2): The problem is after these two functions, the timer stops:
Код HTML:
HelperOccupied[helperid] = -1; NewbieOnHelper[playerid] = -1;
Код HTML:
[13:44:36] [DEBUG]The countdown is on 60 seconds. [13:44:36] [DEBUG]Timer works with succesfully. [13:44:37] [debug] Run time error 4: "Array index out of bounds" [13:44:37] [debug] Attempted to read/write array element at negative index -1 [13:44:37] [debug] AMX backtrace: [13:44:37] [debug] #0 0000d9fc in public OneSecTimer () in nproject.amx