• Уважаемый Гость.
    - Прежде чем создать свою тему, пожалуйста, попробуй воспользоваться этим -> ПОИСКОМ !!!
    - После решения Вашего вопроса (проблемы) - нажмите "Лучший ответ", на сообщении, которое его решило. За игнорирование этого действия - Вы получите соответствующее предупреждение. Мы - стараемся Вам помочь. Уделите 10 секунд - чтобы нажать кнопку. (Если у Вас нет такой возможности - укажите в последнем своем сообщении какой ответ Вы считаете лучшим. Наши модераторы сделают это за Вас)
    ЗАПРЕЩЕНО:
    - Cоздавать темы с названиями "Помогите", "Плиз", "Ошибка", "Не могу найти", "Хелп" и тому подобное;
    - Cоздавать темы без детального описания того, что нужно исправить.
    - Cоздавать темы из одного скриншота.
    За игнор правил форума - Ваша тема будет удалена, а Вы получите системное предупреждение.

error 032: array index out of bounds (variable "InvText")

Статус
В этой теме нельзя размещать новые ответы.

BlackSTOP

Начинающий
Пользователь
Регистрация
14 Фев 2019
Сообщения
77
Лучшие ответы
1
Репутация
0
PHP:
new ClickInv[MAX_PLAYERS]; // Нужно будет для передвижения объектов по инвентарю
new PlayerText:InvText[130][MAX_PLAYERS]; // ТекстДрав инвентаря
new Text:InvTextObj[40][MAX_PLAYERS]; // Клетки в инвентаре

InvText[130] = TextDrawCreate(335.000000, 100.000000, "LD_SPAC:white"); //  (Здесь error 032 и error 033 сразу)
TextDrawLetterSize(InvText[130], 0.480000, 1.120000);
TextDrawTextSize(InvText[130], 126.101715, 245.666672);
TextDrawAlignment(InvText[130], 1);       (15680)
TextDrawColor(InvText[130], 0x111111FF);       (15681)
TextDrawUseBox(InvText[130], 0);       (15682)
TextDrawBoxColor(InvText[130], 0x80808080);
TextDrawSetShadow(InvText[130], 2);
TextDrawSetOutline(InvText[130], 0);
TextDrawBackgroundColor(InvText[130], 0x000000FF);
TextDrawFont(InvText[130], 4);
TextDrawSetProportional(InvText[130], 1); 
TextDrawSetSelectable(InvText[130], 0);  // Здесь везде error 032

InvText[129] = TextDrawCreate(335.000000, 123.599998, "LD_SPAC:white");
TextDrawLetterSize(InvText[129], 0.480000, 1.120000);  // Здесь error 33
TextDrawTextSize(InvText[129], 126.101715, 1.000000);
TextDrawAlignment(InvText[129], 1);   
TextDrawColor(InvText[129], 0xBE5555FF);
TextDrawUseBox(InvText[129], 0);   
TextDrawBoxColor(InvText[129], 0x80808080);   
TextDrawSetShadow(InvText[129], 2);   
TextDrawSetOutline(InvText[129], 0);
TextDrawBackgroundColor(InvText[129], 0x000000FF); 
TextDrawFont(InvText[129], 4);
TextDrawSetProportional(InvText[129], 1); //    (Здесь все error 035)
Вот ошибки:
(15678) : error 032: array index out of bounds (variable "InvText")
(15678) : error 033: array must be indexed (variable "InvText")
(15679) : error 032: array index out of bounds (variable "InvText")
(15680) : error 032: array index out of bounds (variable "InvText")
(15681) : error 032: array index out of bounds (variable "InvText")
(15682) : error 032: array index out of bounds (variable "InvText")
(15683) : error 032: array index out of bounds (variable "InvText")
(15684) : error 032: array index out of bounds (variable "InvText")
(15685) : error 032: array index out of bounds (variable "InvText")
(15686) : error 032: array index out of bounds (variable "InvText")
(15687) : error 032: array index out of bounds (variable "InvText")
(15688) : error 032: array index out of bounds (variable "InvText")
(15689) : error 032: array index out of bounds (variable "InvText")
(15690) : error 032: array index out of bounds (variable "InvText")
(15692) : error 033: array must be indexed (variable "InvText")
(15693) : error 035: argument type mismatch (argument 1)
(15694) : error 035: argument type mismatch (argument 1)
(15695) : error 035: argument type mismatch (argument 1)
(15696) : error 035: argument type mismatch (argument 1)
(15697) : error 035: argument type mismatch (argument 1)
(15698) : error 035: argument type mismatch (argument 1)
(15699) : error 035: argument type mismatch (argument 1)
(15700) : error 035: argument type mismatch (argument 1)
(15701) : error 035: argument type mismatch (argument 1)
(15702) : error 035: argument type mismatch (argument 1)
(15703) : error 035: argument type mismatch (argument 1)
 
Последнее редактирование модератором:
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу