Run time error
#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


Messages In This Thread
Run time error - by xWarrior - 22.11.2017, 12:48
Re: Run time error - by xWarrior - 23.11.2017, 11:29
Re: Run time error - by Meller - 23.11.2017, 12:46
Re: Run time error - by xWarrior - 23.11.2017, 13:25
Re: Run time error - by rt-2 - 23.11.2017, 17:42
Re: Run time error - by xWarrior - 23.11.2017, 22:09

Forum Jump:


Users browsing this thread: 2 Guest(s)