Run time error
#1

Код:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (0) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (1) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (2) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (3) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (4) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (5) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (6) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (7) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (8) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (9) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (10) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (11) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (12) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (13) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (14) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (15) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (16) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (17) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (18) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (19) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (20) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (21) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (22) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (23) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (24) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (25) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (26) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (27) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (28) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (29) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (30) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (31) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (32) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (33) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (34) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (35) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (36) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (37) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (38) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (39) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (40) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (41) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (42) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (43) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (44) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (45) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (46) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (47) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (48) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (49) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (50) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (51) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (52) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (53) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (54) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (55) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (56) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (57) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (58) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (59) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (60) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (61) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (62) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (63) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (64) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (65) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (66) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (67) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (68) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (69) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (70) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (71) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (72) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (73) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (74) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (75) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (76) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (77) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (78) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (79) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (80) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (81) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (82) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (83) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (84) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (85) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (86) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (87) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (88) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (89) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (90) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (91) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (92) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (93) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (94) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (95) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (96) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (97) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (98) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (0) from COD.amx
[21:32:02] [debug] Run time error 4: "Array index out of bounds"
[21:32:02] [debug]  Attempted to read/write array element at negative index -1
[21:32:02] [debug] AMX backtrace:
[21:32:02] [debug] #0 0004981c in public OnPlayerTimeUpdate (99) from COD.amx
[21:32:03] [debug] Run time error 4: "Array index out of bounds"
[21:32:03] [debug]  Attempted to read/write array element at negative index -1
The codes that causing it..
Код:
	if(gPlayerGamemode[playerid] == MODE_TEAM_DEATHMATCH && GetPlayerTeam(playerid) < sizeof(gTeam))
	{
		format(string, sizeof(string), "%s\n%s", gRank[rank][r_name], ReturnPlayerClassName(playerid));
   		UpdateDynamic3DTextLabelText(gPlayerLabel[playerid], GetPlayerColor(playerid), string);

		format(string, sizeof(string), "~g~~h~%s ~h~%s's ~h~%s ~h~%s ~w~~h~- /Help, /Cmds, /Duel, /Minigun, /Moneybag, /Glass, /Rpg - ~b~~h~~h~~h~%s~y~- ~w~~h~%i : %i : %i", ReturnPlayerName(playerid), gTeam[GetPlayerTeam(playerid)][E_NAME], gRank[rank][r_name], ReturnPlayerClassName(playerid), gRandomMessage[gRandomMessageIndex], hours, minutes, seconds);
		PlayerTextDrawSetString(playerid, gPlayerStatsTD[playerid], string);
	}
	else if(gPlayerGamemode[playerid] != MODE_TEAM_DEATHMATCH)
	{
		format(string, sizeof(string), "Killed %i players", GetPlayerKills(playerid));
   		UpdateDynamic3DTextLabelText(gPlayerLabel[playerid], GetPlayerColor(playerid), string);

		format(string, sizeof(string), "~g~~h~%s ~h~%s ~h~Deathmatcher ~w~~h~- /Help, /Cmds, /Duel, /Exit, /Dm, /Teles, /Pm, /Players - ~b~~h~~h~~h~Type /exit to return to team deathmatch!~y~- ~w~~h~%i : %i : %i", ReturnPlayerName(playerid), gRank[rank][r_name], hours, minutes, seconds);
		PlayerTextDrawSetString(playerid, gPlayerStatsTD[playerid], string);
	}
	else
	{
   		UpdateDynamic3DTextLabelText(gPlayerLabel[playerid], GetPlayerColor(playerid), "-");
		format(string, sizeof(string), "~g~~h~%s ~h~%s ~h~Deathmatcher ~w~~h~- /Help, /Cmds, /Duel, /Minigun, /Moneybag, /Glass, /Rpg - ~b~~h~~h~~h~%s~y~- ~w~~h~%i : %i : %i", ReturnPlayerName(playerid), gRank[rank][r_name], gRandomMessage[gRandomMessageIndex], hours, minutes, seconds);
		PlayerTextDrawSetString(playerid, gPlayerStatsTD[playerid], string);
	}
Reply
#2

Compiled the script with -d3 mode.
Код:
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=0) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=2) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=4) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=6) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=8) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=10) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=12) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=14) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=16) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=18) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=20) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=22) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=24) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=26) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=28) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=30) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=32) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=34) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=36) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=38) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=40) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=42) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=44) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=46) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=48) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=50) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=52) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=54) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=56) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=58) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=60) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=62) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=64) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=66) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=68) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=70) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=72) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=74) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=76) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=78) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=80) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=82) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=84) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=86) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=88) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=90) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=92) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=94) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=96) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
[20:26:42] [debug] AMX backtrace:
[20:26:42] [debug] #0 0005f46c in public OnPlayerTimeUpdate (playerid=98) at C:\Users\User\Desktop\COD\gamemodes\COD.pwn:4191
[20:26:42] [debug] Run time error 4: "Array index out of bounds"
[20:26:42] [debug]  Attempted to read/write array element at negative index -1
Line 4191.
Код:
format(string, sizeof(string), "~g~~h~%s ~h~%s's ~h~%s ~h~%s ~w~~h~- /Help, /Cmds, /Duel, /Minigun, /Moneybag, /Glass, /Rpg - ~b~~h~~h~~h~%s~y~- ~w~~h~%i : %i : %i", ReturnPlayerName(playerid), gTeam[GetPlayerTeam(playerid)][E_NAME], gRank[rank][r_name], ReturnPlayerClassName(playerid), gRandomMessage[gRandomMessageIndex], hours, minutes, seconds);
Help!
Reply
#3

Show us gRandomMessageIndex (variable index)
Reply
#4

Код:
//------------------------------------------------

new gRandomMessageIndex;
new gRandomMessage[][] =
{
    "* Are you new here, get started with /help, /cmds and for queries, contact a mature guy!",
    "* Go and register on our forums today, "SERVER_FORUM"",
    "* Shoot enemies, kill them and earn money to buy and unlock new stuff.",
	"* Found a cheater/rule breaker, please kindly report that asshole by /report [id] [reason].",
	"* Are you aware of the rules, if not, then first visit /rules.",
	"* Want you own spawn weapons, want full HP and ARMOUR on spawn and lots more with our DONOR scheme.",
	"* Unlock more exciting and premium features by becoming a DONOR, go on forums to apply.",
	"* ADMIN APPLICATION OPEN, apply at the forums if you complete the requirements!",
	"* Need help, try /help or /admins to contact an online admin.",
	"* Use /pm to privately message a player; Or use /nopm to disable PMs!",
	"* You can also check your stats by /stats and others stats by /stats [playerid].",
	"* Are you bored of team deathmatch? Try out our exclusive deathmatches /dm.",
	"* You can checkout your rank with /rank and compare ranks with /ranks. Need help for ranking up, /rhelp.",
	"* You can also change your spawn position by using /ss.",
	"* Checkout /chelp and /ccmds for info related to classes.",
	"* Thank you for playing and spending time on our decent server. We will make you enjoy the most.",
	"* If you are devastated with headshots, buy a protection helmet from ammunation point.",
	"* You may use /savestats to save your statics."
};

new gRandomMessageTimer = -1;
//------------------------------------------------
Reply
#5

Hey,
If I was you I would separate that line into multiple lines,,
You have different arrays on the same line,, put them all in vars,, then the 1 line causing the error will show which array at least.
rt-2
Reply
#6

How?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)