Question

ulan
Освоившийся

После подключил плагин такой ошибка хотел искать краши

 

[15:08:17] [join] Kairat_Tyzkbau has joined the server (9:92.55.168.52)
[15:08:17] [debug] Run time error 4: "Array index out of bounds"
[15:08:17] [debug]  Attempted to read/write array element at index 9 in array of size 2
[15:08:17] [debug] AMX backtrace:
[15:08:17] [debug] #0 00099d9c in public Itter_OnPlayerConnect (playerid=9) at C:\Users\улан\Desktop\Мод без проблем\gamemodes\2.pwn:4806
[15:08:17] [debug] #1 native CallLocalFunction () from samp03svr-cr
[15:08:17] [debug] #2 0000ab3c in public Streamer_OnPlayerConnect (playerid=9) at C:\Users\улан\Desktop\Мод без проблем\pawno\include\foreach.inc:607
[15:08:17] [debug] #3 native CallLocalFunction () from samp03svr-cr
[15:08:17] [debug] #4 00000bfc in public OnPlayerConnect (playerid=9) at C:\Users\улан\Desktop\Мод без проблем\pawno\include\streamer.inc:346

Вот полный Паблик OnPlayerConnect  http://rgho.st/8yZnqYlZp

Edited by ulan

Заметка от Guest , создано

2.9. Весь код необходимо брать под тег "код". Как это делать вы можете посмотреть в разделе: "Дополнительно -> FAQ".

Заметка от Guest , создано

3.2. Код больше 10 строк брать еще и под спойлер.

Share this post


Link to post

5 answers to this question

  • 0
ulan
Освоившийся

Строк Там Текстрав



    4806 Строк  

Спойлер

TextdrawDM[playerid][0] = CreatePlayerTextDraw(playerid, 266.000000, 219.333343, "LD_SPAC:white");
    PlayerTextDrawLetterSize(playerid, TextdrawDM[playerid][0], 0.000000, 0.000000);
    PlayerTextDrawTextSize(playerid, TextdrawDM[playerid][0], 113.000000, 27.416656);
    PlayerTextDrawAlignment(playerid, TextdrawDM[playerid][0], 1);
    PlayerTextDrawColor(playerid, TextdrawDM[playerid][0], -5963521);
    PlayerTextDrawSetShadow(playerid, TextdrawDM[playerid][0], 0);
    PlayerTextDrawSetOutline(playerid, TextdrawDM[playerid][0], 0);
    PlayerTextDrawFont(playerid, TextdrawDM[playerid][0], 4);

    TextdrawDM[playerid][1] = CreatePlayerTextDraw(playerid, 281.500000, 224.000030, "~g~NO ~r~DM ~s~ZONE");
    PlayerTextDrawLetterSize(playerid, TextdrawDM[playerid][1], 0.360000, 1.675832);
    PlayerTextDrawAlignment(playerid, TextdrawDM[playerid][1], 1);
    PlayerTextDrawColor(playerid, TextdrawDM[playerid][1], -1);
    PlayerTextDrawSetShadow(playerid, TextdrawDM[playerid][1], 0);
    PlayerTextDrawSetOutline(playerid, TextdrawDM[playerid][1], 0);
    PlayerTextDrawBackgroundColor(playerid, TextdrawDM[playerid][1], 51);
    PlayerTextDrawFont(playerid, TextdrawDM[playerid][1], 2);
    PlayerTextDrawSetProportional(playerid, TextdrawDM[playerid][1], 1);
    //

 

 

Edited by MuhammadPawn
Причина: Убрал код под спойлер

Share this post


Link to post
  • 0
ulan
Освоившийся
Спойлер

//////////////ÒÅÊÑÒÐÀÂÛ
    TextdrawDM[playerid][0] = CreatePlayerTextDraw(playerid, 266.000000, 219.333343, "LD_SPAC:white");
    PlayerTextDrawLetterSize(playerid, TextdrawDM[playerid][0], 0.000000, 0.000000);
    PlayerTextDrawTextSize(playerid, TextdrawDM[playerid][0], 113.000000, 27.416656);
    PlayerTextDrawAlignment(playerid, TextdrawDM[playerid][0], 1);
    PlayerTextDrawColor(playerid, TextdrawDM[playerid][0], -5963521);
    PlayerTextDrawSetShadow(playerid, TextdrawDM[playerid][0], 0);
    PlayerTextDrawSetOutline(playerid, TextdrawDM[playerid][0], 0);
    PlayerTextDrawFont(playerid, TextdrawDM[playerid][0], 4);

    TextdrawDM[playerid][1] = CreatePlayerTextDraw(playerid, 281.500000, 224.000030, "~g~NO ~r~DM ~s~ZONE");
    PlayerTextDrawLetterSize(playerid, TextdrawDM[playerid][1], 0.360000, 1.675832);
    PlayerTextDrawAlignment(playerid, TextdrawDM[playerid][1], 1);
    PlayerTextDrawColor(playerid, TextdrawDM[playerid][1], -1);
    PlayerTextDrawSetShadow(playerid, TextdrawDM[playerid][1], 0);
    PlayerTextDrawSetOutline(playerid, TextdrawDM[playerid][1], 0);
    PlayerTextDrawBackgroundColor(playerid, TextdrawDM[playerid][1], 51);
    PlayerTextDrawFont(playerid, TextdrawDM[playerid][1], 2);
    PlayerTextDrawSetProportional(playerid, TextdrawDM[playerid][1], 1);

 

 

Edited by MuhammadPawn
Причина: Убрал код под спойлер

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • vexlinee
      By vexlinee
      Всем здравствуйте, сидел я на майнкрафт читиках и поднадоело, теперь хочу сделать студию либо свой крмп проектик
      Так вот вопросы:
      1. Какие программы лучше всего использовать для лаунчеров? В большенстве видел Android studio
      2. Как запустить сам мод, можно ли это сделать локально и быстро, или стоит переносить на хост 
      3. Про какой кеш говорят типы под лаунчерами 
      4. Как сделать установку сборки через лаунчер по кнопке играть