onplayerkeystatechange error array index out of bounds - 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: onplayerkeystatechange error array index out of bounds (
/showthread.php?tid=652766)
onplayerkeystatechange error array index out of bounds -
ShadowBlack - 18.04.2018
When i press Y i get this errors in samp log and after 5-10 seconds server crashes.
[23:50:26] [debug] Run time error 4: "Array index out of bounds"
[23:50:26] [debug] AMX backtrace:
[23:50:26] [debug] #0 001b9df4 in ?? (0, 65536, 0, 1, 0, 0, 12, 0, 65536, 0, ... <1073741813 arguments>) from bugged.amx
[23:50:26] [debug] #1 00007ae4 in public OnPlayerKeyStateChange (0, 65536, 0) from bugged.amx
Re: onplayerkeystatechange error array index out of bounds -
Sew_Sumi - 18.04.2018
Quote:
Originally Posted by ShadowBlack
[23:50:26] [debug] #0 001b9df4 in ?? (0, 65536, 0, 1, 0, 0, 12, 0, 65536, 0, ... <1073741813 arguments>) from bugged.amx
|
This sounds ominous... Show your OnPlayerKeystateChange.
Re: onplayerkeystatechange error array index out of bounds -
ShadowBlack - 18.04.2018
my onplayerkeystatechange with key_Yes
https://pastebin.com/2rAcAYGF