Cand folosesc comanda /attack
[11:06:19] [debug] Run time error 4: "Array index out of bounds"
[11:06:19] [debug] Accessing element at index 49 past array upper bound 48
[11:06:19] [debug] AMX backtrace:
[11:06:19] [debug] #0 00067dc8 in public IsPlayerInTurf (playerid=0, turfid=49) at C:\Users\Custura\Desktop\GalacticRP v1 like H\gamemodes\galacticrp.pwn:4418
[11:06:19] [debug] #1 00318768 in public cmd_attack (playerid=0, params[]=@05078224 "") at C:\Users\Custura\Desktop\GalacticRP v1 like H\gamemodes\galacticrp.pwn:50014
[11:06:19] [debug] #2 native CallLocalFunction () from samp-server.exe
[11:06:19] [debug] #3 0001f51c in public OnPlayerCommandText (playerid=0, cmdtext[]=@05078204 "/attack") at C:\Users\Custura\Desktop\GalacticRP v1 like H\pawno\include\zcmd.inc:87
Pastebin:
https://pastebin.com/2PYGvQTu