Debug Error help Array index out of bounds
#1

Hello im using House system: https://sampforum.blast.hk/showthread.php?tid=321388 , when i run it i got that:
Код:
[04:16:02]+ Incoming connection: 192.168.1.102:58489
[04:16:32]+ Incoming connection: 192.168.1.102:58491
[04:16:32]+ [join] Mahdi has joined the server (0:192.168.1.102)
[04:17:08]+ [debug] Run time error 4: "Array index out of bounds"
[04:17:08]+ [debug]  Accessing element at negative index -1
[04:17:08]+ [debug] AMX backtrace:
[04:17:08]+ [debug] #0 0003b1a8 in public @_yCbuyhouse (playerid=0, params[]=@0x011183ec "", help=0) at C:\Users\MaHdy\Desktop\SPA Orginal Build 2\filterscripts\House_System.pwn:1607
[04:17:08]+ [debug] #1 0003b030 in public @yC_buyhouse (a=0, b[]=@0x011183ec "", c=0, i=0) at C:\Users\MaHdy\Desktop\SPA Orginal Build 2\filterscripts\House_System.pwn:1600
[04:17:08]+ [debug] #2 native CallRemoteFunction () [00472720] from samp-server.exe
[04:17:08]+ [debug] #3 00026ee0 in Command_Process (playerid=0, cmdtext[]=@0x011183c4 "/buyhouse", help=0) at C:\Users\MaHdy\Desktop\SPA Orginal Build 2\pawno\include\YSI\y_commands.inc:2503
[04:17:08]+ [debug] #4 0002662c in ?? (... <2 arguments>) at C:\Users\MaHdy\Desktop\SPA Orginal Build 2\pawno\include\YSI\y_commands.inc:2322
[04:17:08]+ [debug] #5 0000f624 in public OnPlayerCommandText (playerid=0, cmdtext[]=@0x011183c4 "/buyhouse") at C:\Users\MaHdy\Desktop\SPA Orginal Build 2\pawno\include\YSI\y_hooks/impl.inc:929
Reply
#2

Show line 1600 - 1607 from house system. You use -1 in some array.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)