03.03.2015, 09:22
А тут в чем дело?
PHP код:
12:13:35] [debug] Run time error 4: "Array index out of bounds"
[12:13:35] [debug] Accessing element at negative index -1
[12:13:35] [debug] AMX backtrace:
[12:13:35] [debug] #0 00105d80 in public OnPlayerPickUpPickup (playerid=126, pickupid=-1) at C:\Users\Евгений\Desktop\Мод\pawno\Samp GRP\gamemodes\edit.pwn:16747
PHP код:
if(!IsPlayerInRangeOfPoint(playerid, 7.0, PickupInfo[pickupid][PickX], PickupInfo[pickupid][PickY], PickupInfo[pickupid][PickZ])) return true; // строчка 16747