Advertisement
Guest User

Untitled

a guest
Mar 28th, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. [07:45:10] [debug] Run time error 4: "Array index out of bounds"
  2. [07:45:10] [debug] Accessing element at negative index -1
  3. [07:45:10] [debug] AMX backtrace:
  4. [07:45:10] [debug] #0 00626588 in public ac_OnDialogResponse (playerid=231, dialogid=5129, response=1, listitem=7, inputtext[]=@027dd958 "[7] ") at D:\Flin\.cp1251\main.pwn:52277
  5. [07:45:10] [debug] #1 000160dc in public OnDialogResponse (playerid=231, dialogid=5129, response=1, listitem=6, inputtext[]=@027dd958 "[7] ") at D:\Flin\pawno\include\nex-ac.inc:3852
  6.  
  7. if(listitem == MAX_HOUSE_UPGRADE+2)
  8. {
  9. h_class--;
  10. if(!IsPlayerInRangeOfPoint(playerid, 50.0, g_info[h_class][g_pX],g_info[h_class][g_pY],g_info[h_class][g_pZ]) || h+50 != GetPlayerVirtualWorld(playerid))
  11. return SendError(playerid, "Вы слишком далеко от гаража!");
  12. ShowPlayerDialog(playerid, D_GARAGE_REPAIR_LIST, DIALOG_STYLE_LIST, "Ремонт в гараже", ""I"[1] "W"Пол\n"I"[2] "W"Стена\n"I"[3] "W"Потолок\n", "Выбрать", "Отмена");
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement