Вопросы

Привет всем, во время создания системы транспорта, с foreach'ом, вылезло 9 ошибок. Собственно основная проблема в ошибках 017, не может найти символ TotalplayerVehicles, но этот символ объявлен в начале функции на id, и 8 ошибок лезут на id. И также ошибка 010 на интераторы, а также 3 ошибки на другую строку. Не могу долго решить эти ошибки. Заранее спасибо за помощь.

Ошибки:

 


:\Users\�����\Desktop\server sup\gamemodes\sunlightrp.pwn(137) : error 010: invalid function or declaration
C:\Users\�����\Desktop\server sup\gamemodes\sunlightrp.pwn(221) : error 017: undefined symbol "TotalPlayerVehicles@YSII_Ag"
C:\Users\�����\Desktop\server sup\gamemodes\sunlightrp.pwn(221) : error 017: undefined symbol "TotalPlayerVehicles@YSII_Ag"
C:\Users\�����\Desktop\server sup\gamemodes\sunlightrp.pwn(245) : error 017: undefined symbol "TotalPlayerVehicles@YSII_Cg"
C:\Users\�����\Desktop\server sup\gamemodes\sunlightrp.pwn(245) : error 017: undefined symbol "TotalPlayerVehicles@YSII_Ag"
C:\Users\�����\Desktop\server sup\gamemodes\sunlightrp.pwn(246) : error 017: undefined symbol "PlayerVehicles@YSII_Cg"
C:\Users\�����\Desktop\server sup\gamemodes\sunlightrp.pwn(246) : warning 215: expression has no effect
C:\Users\�����\Desktop\server sup\gamemodes\sunlightrp.pwn(246) : error 001: expected token: ";", but found "]"
C:\Users\�����\Desktop\server sup\gamemodes\sunlightrp.pwn(246) : error 029: invalid expression, assumed zero
C:\Users\�����\Desktop\server sup\gamemodes\sunlightrp.pwn(246) : fatal error 107: too many error messages on one line

 


Код:

 



   id = Iter_Free(TotalPlayerVehicles);
  PersonalVehicle[id][pvID] = cache_get_field_content_int(i - 1, "ID", connect_mysql);   // error 017 undefined symbol "TotalPlayerVehicles@YSII_Ag" 
  Iter_Add(TotalPlayerVehicles, id); //  error 017: undefined symbol "PlayerVehicles@YSII_Cg"

Iter_Add(PlayerVehicles[playerid], id); // error 029, 001, 107

Interator:TotalPlayerVehicles<MAX_PLAYERS_PERSONAL_VEHICLES> // 010 , когда добавляю new и ;, вылезают ошибки

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

0 ответов на этот вопрос

Ответы на этот вопрос пока отсутствуют

Гость
Эта тема закрыта для публикации ответов.

  • Последние посетители   0 пользователей онлайн

    Ни одного зарегистрированного пользователя не просматривает данную страницу

  • Похожий контент

    • Узбек
      От Узбек
      Всем добрый вечер ребят! 
      Я начинающий, сегодня я вам сливаю команду 2(шт) на технические работы
      Ловите