Username: SorinElCapo2
Problema întălnită: La OnPlayerDeah
Detalii despre problemă: Cand omor pe cineva imi da asta in consola
Ce ai încercat să faci înainte să postezi?: Nmk
Cod sursă (recomandat pastebin.com) : https://pastebin.com/6yaXJ7pd
Alte detalii: Erroare Consola
[20:22:54] [debug] Run time error 4: "Array index out of bounds"
[20:22:54] [debug] Attempted to read/write array element at index 65535 in array of size 1000
[20:22:54] [debug] AMX backtrace:
[20:22:54] [debug] #0 00147788 in public S@@_OnPlayerDeath (playerid=0, killerid=65535, reason=54) at wa-rpg.pwn:2109
[20:22:54] [debug] #1 001436f4 in ?? (... <5 arguments>) at wa-rpg.pwn:1857
[20:22:54] [debug] #2 0002f600 in public OnPlayerTakeDamage (playerid=0, issuerid=65535, Float:amount=3.30000, weaponid=54, bodypart=3) at C:\Users\mariu\Desktop\burned.ro\pawno\include\YSI\y_hooks/impl.inc:2365
[20:22:56] [SmkR] has logged in with IP 192.168.1.3.
[20:22:56] Accesory loaded: 100
[20:23:02] [debug] Run time error 4: "Array index out of bounds"
[20:23:02] [debug] Attempted to read/write array element at index 65535 in array of size 1000
[20:23:02] [debug] AMX backtrace:
[20:23:02] [debug] #0 00147788 in public S@@_OnPlayerDeath (playerid=1, killerid=65535, reason=34) at wa-rpg.pwn:2109
[20:23:02] [debug] #1 001436f4 in ?? (... <5 arguments>) at wa-rpg.pwn:1857
[20:23:02] [debug] #2 0002f600 in public OnPlayerTakeDamage (playerid=1, issuerid=65535, Float:amount=330.00000, weaponid=34, bodypart=9) at C:\Users\mariu\Desktop\burned.ro\pawno\include\YSI\y_hooks/impl.inc:2365
[20:23:09] [El.Capo] has logged in with IP 192.168.1.3.
[20:23:09] [debug] Run time error 4: "Array index out of bounds"
[20:23:09] [debug] Attempted to read/write array element at index 65535 in array of size 1000
[20:23:09] [debug] AMX backtrace:
[20:23:09] [debug] #0 00147788 in ?? (... arguments>) at wa-rpg.pwn:2109
[20:23:09] [debug] #1 0002bcf8 in public L_AFK_OPD (playerid=1, killerid=65535, reason=255) at C:\Users\mariu\Desktop\burned.ro\pawno\include\YSI\y_hooks/impl.inc:770
[20:23:09] [debug] #2 native CallLocalFunction () from samp-server.exe
[20:23:09] [debug] #3 00016b10 in public OnPlayerDeath (playerid=1, killerid=65535, reason=255) at C:\Users\mariu\Desktop\burned.ro\pawno\include\AutoAFK.inc:119