SA-MP Forums Archive
some errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: some errors (/showthread.php?tid=480965)



some errors - aboa - 13.12.2013

[debug] Run time error 4: "Array index out of bounds"
[debug] Accessing element at index 3 past array upper bound 2
[debug] Backtrace (most recent call first):
[debug] #0 public OnPlayerPickUpStreamPickup()+0x3394 from szrp.amx
[debug] #1 public Streamer_OnPlayerPickUpPickup()+0x68 from szrp.amx
[debug] #2 native CallLocalFunction() from samp-server.exe
[debug] #3 0x00000000()+0x2628c from szrp.amx

What's the problem with that ....I saw this in the server log


Re: some errors - ViruZz - 13.12.2013

You have an array going out of bound. For example, you have an array set to [2] but you're calling [2] that is out of bound.