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

warning 208: function with tag result used before definition, forcing reparse

Ава

Дебютант
Здравствуйте помогите пожалуйста, решил установить античит nex-ac, все сделал а варнингов штук 10 и 1 еррор.
C:\Users\57050\Desktop\адванс\gamemodes\advance.pwn(35717) : warning 208: function with tag result used before definition, forcing reparse
C:\Users\57050\Desktop\адванс\gamemodes\advance.pwn(42898) : warning 208: function with tag result used before definition, forcing reparse
C:\Users\57050\Desktop\адванс\gamemodes\advance.pwn(42901) : warning 208: function with tag result used before definition, forcing reparse
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(2517) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(2519) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(2925) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(2927) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(2962) : warning 219: local variable "doors" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(2962) : warning 219: local variable "lights" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(2964) : warning 219: local variable "doors" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(2964) : warning 219: local variable "lights" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(4201) : warning 202: number of arguments does not match definition
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(4214) : error 025: function heading differs from prototype
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(9057) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(9110) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\airbreak.inc(182) : warning 201: redefinition of constant/macro (symbol "SetPlayerPos")
C:\Users\57050\Desktop\адванс\pawno\include\airbreak.inc(183) : warning 201: redefinition of constant/macro (symbol "SetVehiclePos")
C:\Users\57050\Desktop\адванс\pawno\include\airbreak.inc(184) : warning 201: redefinition of constant/macro (symbol "PutPlayerInVehicle")

1 Error.

строка 35717: f_public Float:GetDistanceBetweenPlayers(playerid,targetplayerid)
строка 42898: forward Float:GetElevatorZCoordForFloor(floorid);
строка 42901: forward Float:GetDoorsZCoordForFloor(floorid);
строка 2517: BIKES[9] = AddStaticVehicleEx(481,2124.3354,-1153.0712,23.4801,44.8555,-1,-1,6000); // BMX
строка 2519: BIKES[10] = AddStaticVehicleEx(510,2125.7539,-1150.7455,23.6852,23.4151,-1,-1,6000); // MountanBike

Что сделать надо?

Если убрать #include <airbreak> то error убирается, и остаеться 14 варнингов.
C:\Users\57050\Desktop\адванс\gamemodes\advance.pwn(35717) : warning 208: function with tag result used before definition, forcing reparse
C:\Users\57050\Desktop\адванс\gamemodes\advance.pwn(42898) : warning 208: function with tag result used before definition, forcing reparse
C:\Users\57050\Desktop\адванс\gamemodes\advance.pwn(42901) : warning 208: function with tag result used before definition, forcing reparse
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(2517) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(2519) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(2925) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(2927) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(2962) : warning 219: local variable "doors" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(2962) : warning 219: local variable "lights" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(2964) : warning 219: local variable "doors" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(2964) : warning 219: local variable "lights" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(9057) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\pawno\include\nex-ac.inc(9110) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\57050\Desktop\адванс\gamemodes\advance.pwn(39662) : warning 235: public function lacks forward declaration (symbol "OnPlayerAirbreak")
Header size: 14932 bytes
Code size: 3510492 bytes
Data size: 7160692 bytes
Stack/heap size: 16384 bytes; estimated max. usage=9458 cells (37832 bytes)
Total requirements:10702500 bytes

14 Warnings.
 
Сверху Снизу