Debug error
#1

Hello guys!
Help me pls
server report
PHP код:
[13:41:25] [debugRun time error 4"Array index out of bounds"
[13:41:25] [debug]  Accessing element at negative index -146629655
[13:41:25] [debugAMX backtrace:
[
13:41:25] [debug#0 001b4824 in public _capture () at C:\\Revival\gamemodes\new.pwn:18857 
18857 :
PHP код:
GT[IDTerra2] = GZInfo[i][gID]; 
Sorry for my bad english xD
Reply
#2

Show enum GZInfo and array GT please.
Reply
#3

Quote:
Originally Posted by YouServ
Посмотреть сообщение
Show enum GZInfo and array GT please.
PHP код:
enum gg
{
    
bool:capture,
    
timecaptsek,
    
timecaptmin,
    
zonename[12],
    
Gang1,
    
Gang2,
    
Frag1,
    
Frag2,
    
IDTerra,
    
IDTerra2
}
enum GzoneInfo
{
    
gID,
    
Float:gCoords[4],
    
gMemberZone
}
new 
GT[gg];
new 
GZInfo[105][GzoneInfo]; 
Reply
#4

Help me pls....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)