#1
Отправлено 10 августа 2016 — 07:39
-
- Новичок
-
Доброго времени суток!У меня тут при копилировнии вышла ошибочка с инклудом pc_team
pc_team.inc(31) : fatal error 111: user error: Please include <a_npc> or <a_samp> first.
Я перевёл,вот что вышло:
фатальная ошибка 111: ошибка пользователь: пожалуйста, включите <a_npc> или <a_samp> первый.
Все эти инклуды подключены.
Вот все инклуды:
#include <a_samp> #include <a_npc> #include <streamer> #include <mxINI> #include <mxdate> #include <foreach> #include <mSelection> #include <pc_team> #pragma dynamic 13700
Срочно нужна ваша помощь!
0
#2
Отправлено 10 августа 2016 — 07:57
-
- Профессионал
-
pc_team.inc(31) : fatal error 111: user error: Please include <a_npc> or <a_samp> first.
Тебе же компилятор показывает, что ошибка в файле pc_team.inc на 31 строке
0
#3
Отправлено 10 августа 2016 — 08:01
-
- Новичок
-
m1n1vv (10 августа 2016 — 07:57) писал:
pc_team.inc(31) : fatal error 111: user error: Please include <a_npc> or <a_samp> first.
Тебе же компилятор показывает, что ошибка в файле pc_team.inc на 31 строке
Дак как исправить?Я бы просто так не писал!
0
#4
Отправлено 10 августа 2016 — 08:02
-
- Профессионал
-
Maks_Railly (10 августа 2016 — 08:01) писал:
Дак как исправить?Я бы просто так не писал!
Скинь с 26 по 35 строку файла pc_team.inc
0
#5
Отправлено 10 августа 2016 — 08:07
-
- Новичок
-
m1n1vv (10 августа 2016 — 07:57) писал:
pc_team.inc(31) : fatal error 111: user error: Please include <a_npc> or <a_samp> first.
Тебе же компилятор показывает, что ошибка в файле pc_team.inc на 31 строке
Вот 31 строчка в инклуде
#error Please include <a_npc> or <a_samp> first.
* SA:MP Team past, present and future */ #if defined _inc_a_npc #pragma library sscanf #elseif !defined _inc_a_samp #error Please include <a_npc> or <a_samp> first. #endif #define SSCANF:%0(%1) sscanf_%0(%1);public sscanf_%0(%1)
m1n1vv (10 августа 2016 — 08:02) писал:
Скинь с 26 по 35 строку файла pc_team.inc
Сообщение отредактировал Maks_Railly: 10 августа 2016 — 08:08
0
#6
Отправлено 10 августа 2016 — 08:09
-
- Профессионал
-
Я не знаю о последствиях, но можно убрать
#if defined _inc_a_npc #pragma library sscanf #elseif !defined _inc_a_samp #error Please include <a_npc> or <a_samp> first. #endif
pc_team.inc(31) : fatal error 111: user error: Please include <a_npc> or <a_samp> first.
#error Please include <a_npc> or <a_samp> first.
Лучше скинь инклуд
Сообщение отредактировал m1n1vv: 10 августа 2016 — 08:16
0
#7
Отправлено 10 августа 2016 — 08:29
-
- Новичок
-
m1n1vv (10 августа 2016 — 08:09) писал:
Я не знаю о последствиях, но можно убрать
#if defined _inc_a_npc #pragma library sscanf #elseif !defined _inc_a_samp #error Please include <a_npc> or <a_samp> first. #endif
pc_team.inc(31) : fatal error 111: user error: Please include <a_npc> or <a_samp> first.
#error Please include <a_npc> or <a_samp> first.
Лучше скинь инклуд
Я убрал,нечего не стало,ошибка ушла.У меня к тебе есть ещё одна просьба.
Вот тут ошибки
C:Documents and SettingsMicrosoft??????? ????VSE SAMPOVSKOEEvolution RPgamemodesRealLife.pwn(5648) : error 001: expected token: "-string end-", but found "-identifier-" C:Documents and SettingsMicrosoft??????? ????VSE SAMPOVSKOEEvolution RPgamemodesRealLife.pwn(5648) : error 017: undefined symbol "EvolutionRP" C:Documents and SettingsMicrosoft??????? ????VSE SAMPOVSKOEEvolution RPgamemodesRealLife.pwn(5648) : warning 215: expression has no effect C:Documents and SettingsMicrosoft??????? ????VSE SAMPOVSKOEEvolution RPgamemodesRealLife.pwn(5648) : error 001: expected token: ";", but found ")" C:Documents and SettingsMicrosoft??????? ????VSE SAMPOVSKOEEvolution RPgamemodesRealLife.pwn(5648) : fatal error 107: too many error messages on one line Compilation aborted. Pawn compiler 3.2.3664.samp Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Вот строчка:
SendClientMessageToAll(COLOR_WHITE,"{FFD300}Организатор: {FFFFFF}"EvolutionRP"");
0
#8
Отправлено 10 августа 2016 — 08:48
-
- Профессионал
-
Maks_Railly (10 августа 2016 — 08:29) писал:
Я убрал,нечего не стало,ошибка ушла.У меня к тебе есть ещё одна просьба.
Вот тут ошибки
C:Documents and SettingsMicrosoft??????? ????VSE SAMPOVSKOEEvolution RPgamemodesRealLife.pwn(5648) : error 001: expected token: "-string end-", but found "-identifier-" C:Documents and SettingsMicrosoft??????? ????VSE SAMPOVSKOEEvolution RPgamemodesRealLife.pwn(5648) : error 017: undefined symbol "EvolutionRP" C:Documents and SettingsMicrosoft??????? ????VSE SAMPOVSKOEEvolution RPgamemodesRealLife.pwn(5648) : warning 215: expression has no effect C:Documents and SettingsMicrosoft??????? ????VSE SAMPOVSKOEEvolution RPgamemodesRealLife.pwn(5648) : error 001: expected token: ";", but found ")" C:Documents and SettingsMicrosoft??????? ????VSE SAMPOVSKOEEvolution RPgamemodesRealLife.pwn(5648) : fatal error 107: too many error messages on one line Compilation aborted. Pawn compiler 3.2.3664.samp Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Вот строчка:
SendClientMessageToAll(COLOR_WHITE,"{FFD300}Организатор: {FFFFFF}"EvolutionRP"");
SendClientMessageToAll(COLOR_WHITE, "{FFD300}Организатор: {FFFFFF}"EvolutionRP"");
0
- ← Предыдущая тема
- Проблемы с компилированием
- Следующая тема →
- Вы не можете создать новую тему
-
Тема закрыта
1 человек читают эту тему
0 пользователей, 1 гостей, 0 скрытых пользователей
Posts: 385
Threads: 10
Joined: Dec 2013
Reputation:
0
hi there,
I’ve got a problem with sscanf2.inc.
Код:
D:Program FilesNextGen Streetracerspawnoincludesscanf2.inc(30) : fatal error 111: user error: Please include <a_npc> or <a_samp> first. Compilation aborted. Pawn compiler 3.2.3664.samp Copyright © 1997-2006, ITB CompuPhase 1 Error.
it outputs that error when I replace the pawnc.dll and pawncc.exe to Zeex’s pawno patch.
Zeex’s patch I downloaded.
now, I’ve already tried removing these 2 lines from sscanf2.inc.
pawn Код:
#elseif !defined _inc_a_samp
#error Please include <a_npc> or <a_samp> first.
but that gives me another 18 errors.
is there any way to fix this? I need Zeex’s patch for the multi-dimensional array stuff.
Posts: 271
Threads: 19
Joined: Nov 2013
Reputation:
0
You sure u have #include <a_samp> at the FULL TOP of the script?
Posts: 385
Threads: 10
Joined: Dec 2013
Reputation:
0
Yep I have, lol.
I don’t have it ontop of my includes, but is that really necessary? I’ve got it ontop of my Gamemode.
Posts: 385
Threads: 10
Joined: Dec 2013
Reputation:
0
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
The first line of your script should be #include <a_samp>. You are most likely defining it AFTER including sscanf.
Your script:
pawn Код:
#include <sscanf2>
//Further down...
#include <a_samp>
Should be:
pawn Код:
#include <a_samp>
//Further down.. preferably right underneath a_samp.
#include <sscanf2>
Posts: 385
Threads: 10
Joined: Dec 2013
Reputation:
0
nope, I’ve got it like:
pawn Код:
#include <a_samp>
#include <sscanf2>
#include <zcmd>
#include <progress>
#include <streamer>
#include <foreach>
#include <a_sampdb>
should work fine :/
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
What are the other 18 errors when you remove the lines?
Posts: 385
Threads: 10
Joined: Dec 2013
Reputation:
0
Код:
D:Program FilesNextGen Streetracerspawnoincludeforeach.inc(467) : error 021: symbol already defined: "Player@YSII_Cg" D:Program FilesNextGen Streetracerspawnoincludeforeach.inc(471) : error 021: symbol already defined: "Bot@YSII_Cg" D:Program FilesNextGen Streetracerspawnoincludeforeach.inc(811) : error 021: symbol already defined: "Itter_RandomInternal" D:Program FilesNextGen Streetracerspawnoincludeforeach.inc(849) : error 021: symbol already defined: "Itter_FreeInternal" D:Program FilesNextGen Streetracerspawnoincludeforeach.inc(878) : error 021: symbol already defined: "Itter_AddInternal" D:Program FilesNextGen Streetracerspawnoincludeforeach.inc(912) : error 021: symbol already defined: "Itter_RemoveInternal" D:Program FilesNextGen Streetracerspawnoincludeforeach.inc(935) : error 021: symbol already defined: "Itter_SafeRemoveInternal" D:Program FilesNextGen Streetracerspawnoincludeforeach.inc(969) : error 021: symbol already defined: "Itter_ContainsInternal" D:Program FilesNextGen Streetracerspawnoincludeforeach.inc(988) : error 021: symbol already defined: "Itter_ClearInternal" D:Program FilesNextGen Streetracerspawnoincludeforeach.inc(1013) : error 021: symbol already defined: "Itter_InitInternal" D:Program FilesNextGen Streetracerspawnoincludeforeach.inc(1039) : error 021: symbol already defined: "Itter_PrevInternal" D:Program FilesNextGen StreetracerspawnoincludeHiStreetHS_Variables.inc(181) : warning 213: tag mismatch D:Program FilesNextGen StreetracerspawnoincludeHiStreetHS_Variables.inc(181) : warning 213: tag mismatch D:Program FilesNextGen StreetracerspawnoincludeHiStreetHS_Variables.inc(181) : warning 213: tag mismatch D:Program FilesNextGen Streetracerspawnoincludegetvehiclename.inc(23) : error 021: symbol already defined: "VehicleFriendlyNames" D:Program FilesNextGen Streetracerspawnoincludegetvehiclename.inc(55) : error 021: symbol already defined: "GetVehicleNameByID" D:Program FilesNextGen Streetracerspawnoincludegetvehiclename.inc(71) : error 021: symbol already defined: "GetVehicleModelFromName" D:Program FilesNextGen Streetracerspawnoincludegetvehiclename.inc(82) : error 021: symbol already defined: "GetVehicleNameByModel" D:Program FilesNextGen StreetracersgamemodesNGStreet.pwn(39) : error 021: symbol already defined: "Itter_OnGameModeInit" D:Program FilesNextGen StreetracersgamemodesNGStreet.pwn(202) : error 021: symbol already defined: "Itter_OnPlayerConnect" D:Program FilesNextGen StreetracersgamemodesNGStreet.pwn(249) : error 021: symbol already defined: "Itter_OnPlayerDisconnect" Pawn compiler 3.2.3664.samp Copyright © 1997-2006, ITB CompuPhase 18 Errors.
Добро пожаловать!
Зарегистрировавшись у нас, вы сможете обсуждать, делиться и отправлять личные сообщения другим участникам нашего сообщества.
Зарегистрироваться!
-
Если Вы желаете помогать развитию проекта, готовы заполнять раздел(-ы) и подсказывать другим пользователям на портале, есть возможность попасть в команду редакторов. Для этого следует обратиться в техническую поддержку
-
Автор темы
Romanvenum
-
Дата начала
30 Янв 2023
- Статус
- В этой теме нельзя размещать новые ответы.
-
#1
При компиляции мода Valley RP выводит ошибку:
pawnoincludesscanf2.inc(33) : fatal error 111: user error: Please include <a_npc> or <a_samp> first.
в начале мода вписал
#include <sscanf2>
#include <a_samp>
все равно ошибку выдает.
-
#2
Приветствую, пропишите сначала #include <a_samp>, только после него #include <sscanf2>
-
#3
Пробовал и так и по другому, не работает
Приветствую, пропишите сначала #include <a_samp>, только после него #include <sscanf2>
Там в моде сперва идет <a_samp> а потом снизу уже все инклуды.
-
#5
Кароче, через Павно компиляция прошла удачно но вот через визуал студио почему то не проходит компиляция.
-
#6
Ладно, закрывайте тему. В Моде Valley как то много багов, даже запустить не смог или просто у меня не получилось.
- Статус
- В этой теме нельзя размещать новые ответы.