Error 021 symbol already defined getplayername

gwrp.pwn(339) : error 021: symbol already defined: "OnPlayerClickPlayer" #include #include #include <dc...

gwrp.pwn(339) : error 021: symbol already defined: «OnPlayerClickPlayer»

#include <a_samp>
#include <mxINI>
#include <dc_cmd>
#include <sscanf2>

#define DSL DIALOG_STYLE_LIST
#define DSI DIALOG_STYLE_INPUT
#define DSM DIALOG_STYLE_MSGBOX
#define DSP DIALOG_STYLE_PASSWORD

forward OnPlayerRegister(playerid, password[]);
forward OnPlayerLogin(playerid,password[]);

enum pInfo
{
pPass[64],
pMoney
};
new PlayerInfo[MAX_PLAYERS][pInfo];
new PAccount[MAX_PLAYERS];

public OnGameModeInit()
{
AddPlayerClass(14, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
if(PAccount[playerid] == 1) // ??????? ????
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,»???????????»,»????????????n??? ??????? ??? ???????????????n??????? ???? ?????? ??? ???? ?? ???????»,»????»,»»); // ?????????? ??????
}
else // ???? ??? ???????? ? ?????
{
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,»???????????»,»????????????n??? ??????? ?? ??????.n??????????????? ??????? ??? ??? ???? ?? ???????»,»????»,»»); // ?????????? ?????? ???????????.
}
return 1;
}

public OnPlayerConnect(playerid)
{
new playername[MAX_PLAYER_NAME]; // ????? ??? ????? ??????
new string[128];// ???? ?? ????? ? ?????? ??????
GetPlayerName(playerid,playername,sizeof(playername)); // ?????? ??? ??????
format(string,sizeof(string),»users/%s.ini», playername); // ???? ? ????? ? ?????????
if(fexist(string)) // ???????? ?? ????, ???? ?? ???? ?? ??????????? ????????? ????????.
{
PAccount[playerid] = 1; // ??????? ????
}
else// ???? ????? ? ?????? ???, ?? ??????????? ??? ????????.
{
PAccount[playerid] = 0; // ???????? ???
}
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
return 1;
}

public OnPlayerSpawn(playerid)
{
SendClientMessage(playerid,0xFFFFFFAA,»??? ???????????? ? ?????????, ??????? /menu»);
return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}

public OnVehicleSpawn(vehicleid)
{
return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}

public OnPlayerText(playerid, text[])
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(«/menu», cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,»????»,»??????? ???????»,»???????»,»???????»);
return 1;
}
return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}

public OnRconCommand(cmd[])
{
return 1;
}

public OnPlayerRequestSpawn(playerid)
{
return 1;
}

public OnObjectMoved(objectid)
{
return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}

public OnPlayerExitedMenu(playerid)
{
return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}

public OnPlayerUpdate(playerid)
{
return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1)// ?? ??????? ??? ??????
{
if(response)// ???? ????? ????? ?????? ?????? ?????
{
if(!strlen(inputtext))// ???? ???? ????? ??????, ??????? ?????? ?????
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,»???? ?????»,»????????????n??? ??????? ???????????????n??????? ???? ?????? ? ??????»,»????»,»»);// ?????????? ?????? ????? ? ????.
return 1;
}
new pass[64];// ????? ? ???????
strmid(pass,inputtext,0,strlen(inputtext),64);// ?????????? ?????? ? ???????
OnPlayerLogin(playerid,pass);//?????? ?????
}
else// ???? ????? ????? Escape,?? ??????? ??? ??????
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,»???? ?????»,»????????????n??? ??????? ???????????????n??????? ???? ?????? ? ??????»,»????»,»»);// ?????????? ?????? ????? ? ????.
}
}
if(dialogid == 2)// ?? ??????? ??? ???????????
{
if(response)// ???? ????? ????? ?????? ??????
{
if(!strlen(inputtext))// ???? ????? ?? ??????? ??????,?? ??????? ?????? ?????
{
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,»???? ???????????»,»????????????n??? ??????? ???????????????.n????????????????? ????? ?????? ? ??????»,»????»,»»);// ?????????? ?????? ???????????.
return 1;
}
new pass[64];// ????? ? ???????
strmid(pass,inputtext,0,strlen(inputtext),64);// ????????? ????? ? ???????
OnPlayerRegister(playerid,pass);// ????????? ?????? ???????????
}
else// ???? ????? ????? Escape
{
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,»???? ???????????»,»????????????n??? ??????? ??????????????.n????????????????? ????? ?????? ? ??????»,»????»,»»);// ?????????? ?????? ???????????.
}
}
return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}
public OnPlayerRegister(playerid, password[])// ?????? ???????????
{
if(IsPlayerConnected(playerid))
{
new string[64];// ????? ? ????? ??? ?????
new playername[MAX_PLAYER_NAME];// ????? ??? ????????? ????? ??????
GetPlayerName(playerid, playername, sizeof(playername));// ???????? ??? ??????
format(string,sizeof(string), «users/%s.ini», playername);// ????????? ??? ??????, ? ???? ??? ??????????
new iniFile = ini_createFile(string);// ??????? ???? ? ?????? ?????? ? ????? players
if(iniFile < 0)// ???? ????? ???
{
iniFile = ini_openFile(string);// ?????????
}
if(iniFile >= 0)// ???? ???? ????
{
strmid(PlayerInfo[playerid][pPass],password,0,strlen(password),255);
// ??????????? ?????? pPass, ???????? password[]
ini_setString(iniFile,»Pass»,PlayerInfo[playerid][pPass]
);// ?????????? ?????? ?????? ? ????
ini_closeFile(iniFile);// ????????? ????
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,»???? ?????»,»????????????n??? ??????? ???????????????n??????? ???? ?????? ? ??????»,»????»,»»);// ?????????? ?????? ????? ? ????.
}
}
return 1;
}
stock SavePlayer(playerid)
{
new string[64]; // ????? ? ????? ??? ?????
new playername[MAX_PLAYER_NAME]; // ????? ??? ????????? ????? ??????
GetPlayerName(playerid, playername, sizeof(playername)); // ???????? ??? ??????
format(string, sizeof(string), «users/%s.ini», playername); // ????????? ??? ??????, ? ???? ??? ??????????
iniFile = ini_openFile(string); // ????????? ???? ?? ???? ???? ??????? ???????.
ini_setString(iniFile,»Pass»,PlayerInfo[playerid][pPass]
);// ?????????? ?????? ?????? ? ????
ini_closeFile(iniFile); // ????????? ????
}
public OnPlayerLogin(playerid,password[])
{
if(IsPlayerConnected(playerid))// ???????? ?? ??????????? ??????
{
new string[64]; // ????? ? ????? ??? ?????
new pass[64]; // ????? ? ???????
new playername[MAX_PLAYER_NAME]; // ????? ??? ????????? ????? ??????
GetPlayerName(playerid, playername, sizeof(playername)); // ???????? ??? ??????
format(string,sizeof(string), «users/%s.ini», playername); // ????????? ??? ??????, ? ???? ??? ????????
new iniFile = ini_openFile(string); // ????????? ????
ini_getString(iniFile,»Pass»,pass,64); // ????????? ??????
if(strcmp(pass,password,true) == 0) // ???? ???????? ??????, ???????????? ?????? ??? ???????????, ?? ????????? ???
{
ini_getString(iniFile,»Pass»,PlayerInfo[playerid][pPass]
,64); // ????????? ??????
ini_closeFile(iniFile); // ????????? ????
}
else // ???? ?????? ?? ?????..
{
ini_closeFile(iniFile); // ????????? ????
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,»???????????»,»????????????n??? ??????? ??? ???????????????n??????? ???? ?????? ??? ???? ?? ???????»,»????»,»»); // ?????????? ?????? ????? ? ????.
return 1;
}
SendClientMessage(playerid,0xFF00000,»????? ?????????? ?? ??? ??????»); // ??????? ????? ?????????
SpawnPlayer(playerid);// ??????? ??????
}
return 1;
}

stock LoadPlayerAccount(playerid)
{
return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}

Содержание

  1. Error 021 symbol already defined getplayername
  2. Форум Pawn.Wiki — Воплоти мечту в реальность!: error 021: symbol already defined (cmd_get) — Форум Pawn.Wiki — Воплоти мечту в реальность!
  3. error 021: symbol already defined (cmd_get) Помогите исправить)
  4. Форум Pawn.Wiki — Воплоти мечту в реальность!: 021,012,001,029,107 + 215 — Форум Pawn.Wiki — Воплоти мечту в реальность!
  5. Форум Pawn.Wiki — Воплоти мечту в реальность!: error 021: symbol already defined — Форум Pawn.Wiki — Воплоти мечту в реальность!
  6. error 021: symbol already defined

Error 021 symbol already defined getplayername

this error is because your code is outside of a function. For example:

Right way to do is :

this error is because your code is outside of a function. For example:

Right way to do is :

Here, I’ve fixed the error for you.

public OnPlayerDeath ( playerid , killerid , reason )
<
if( killerid != INVALID_PLAYER_ID ) SetPlayerScore ( killerid , GetPlayerScore ( killerid ) + 1 );
userData [ playerid ][ Deaths ] ++;
return 1 ;
>

public OnDialogResponse ( playerid , dialogid , response , listitem , inputtext [])
<
switch( dialogid )
<
case DIALOG_REGISTER :
<
if (! response ) return Kick ( playerid );
if ( response )
<
if(! strlen ( inputtext )) return ShowPlayerDialog ( playerid , DIALOG_REGISTER , DIALOG_STYLE_INPUT , «» COLOR_WHITE «Welcome.Please log-in» , «You have entered an » COLOR_RED «invalid» COLOR_WHITE » passwordn» COLOR_WHITE «Type your » COLOR_GREEN «password » COLOR_WHITE «here to log-in» , #Register, #Quit);

new hashed_password [ 129 ];
WP_Hash ( hashed_password , sizeof ( hashed_password ), inputtext );
new INI : File = INI_Open ( UserAccountPath ( playerid ));
INI_SetTag ( File , «statistics» );
INI_WriteString ( File , «Password» , hashed_password );
INI_WriteInt ( File , «Money» , 0 );
INI_WriteInt ( File , «AdminLevel» , 0 );
INI_WriteInt ( File , «Deaths» , 0 );
INI_WriteInt ( File , «Score» , 0 );
INI_Close ( File );
SetSpawnInfo ( playerid , 0 , 0 , 1958.33 , 1343.12 , 15.36 , 269.15 , 0 , 0 , 0 , 0 , 0 , 0 );
SpawnPlayer ( playerid );
>
>
case DIALOG_LOGIN :
<
if (! response ) return Kick ( playerid );
if( response )
<
new hashed_password [ 129 ];
WP_Hash ( hashed_password , sizeof ( hashed_password ), inputtext );
if(! strcmp ( hashed_password , userData [ playerid ][ Password ]))
<
INI_ParseFile ( UserAccountPath ( playerid ), «LoadUser_%s» , . bExtra = true , . extra = playerid );
GivePlayerMoney ( playerid , userData [ playerid ][ Money ]);
SetPlayerScore ( playerid , userData [ playerid ][ Score ]);
>
else
<
ShowPlayerDialog ( playerid , DIALOG_LOGIN , DIALOG_STYLE_INPUT , «» COLOR_WHITE «Login» , «» COLOR_RED «You have entered an incorrect password.n» COLOR_WHITE «Type your password below to login.» , «Login» , «Quit» );
>
return 1 ;
>
>
>
return 1 ;
>

Источник

Форум Pawn.Wiki — Воплоти мечту в реальность!: error 021: symbol already defined (cmd_get) — Форум Pawn.Wiki — Воплоти мечту в реальность!

  • Pawn скриптинг
  • Первая помощь
  • Проблемы с компилированием
  • Правила форума
  • Просмотр новых публикаций

error 021: symbol already defined (cmd_get) Помогите исправить)

  • Группа: Пользователи
  • Сообщений: 9
  • Регистрация: 15 июня 16

Сообщение отредактировал Sound: 18 июня 2016 — 11:51

  • Группа: Vip
  • Сообщений: 4 001
  • Регистрация: 10 апреля 15

Сообщение отредактировал Pa4enka: 17 июня 2016 — 16:28

  • Группа: Vip
  • Сообщений: 5 581
  • Регистрация: 09 января 13

Знал бы что скрывается под . может и по лучше сделал

Сообщение отредактировал m1n1vv: 17 июня 2016 — 16:35

  • Группа: Пользователи
  • Сообщений: 9
  • Регистрация: 15 июня 16

m1n1vv (17 июня 2016 — 16:30) писал:

  • Группа: Vip
  • Сообщений: 5 581
  • Регистрация: 09 января 13

ANDRRR10 (17 июня 2016 — 16:34) писал:

  • Группа: Пользователи
  • Сообщений: 9
  • Регистрация: 15 июня 16

m1n1vv (17 июня 2016 — 16:30) писал:

Знал бы что скрывается под . может и по лучше сделал

  • Группа: Vip
  • Сообщений: 5 581
  • Регистрация: 09 января 13

  • Группа: Пользователи
  • Сообщений: 9
  • Регистрация: 15 июня 16

m1n1vv (17 июня 2016 — 16:42) писал:

(23610) : error 017: undefined symbol «sqlcmd»
(23611) : error 017: undefined symbol «var»
(23611) : error 022: must be lvalue (non-constant)
(23611) : error 017: undefined symbol «var»
(23611) : fatal error 107: too many error messages on one line
Теперь эти ошибки.

Вместо «». » высвечиваются «Дата регистрации, ИП (рег), Номер аккаунта» и тд

Источник

Форум Pawn.Wiki — Воплоти мечту в реальность!: 021,012,001,029,107 + 215 — Форум Pawn.Wiki — Воплоти мечту в реальность!

  • Pawn скриптинг
  • Первая помощь
  • Проблемы с компилированием
  • Правила форума
  • Просмотр новых публикаций
  • (2 Страниц)
  • 1
  • 2
  • >
  • Вы не можете создать новую тему
  • Тема закрыта

  • Группа: Пользователи
  • Сообщений: 9
  • Регистрация: 11 августа 13

  • Группа: Активные пользователи
  • Сообщений: 4 623
  • Регистрация: 02 августа 12

  • Группа: Пользователи
  • Сообщений: 9
  • Регистрация: 11 августа 13

iRusel (12 августа 2013 — 00:02) писал:

  • Группа: Активные пользователи
  • Сообщений: 4 623
  • Регистрация: 02 августа 12

  • Группа: Пользователи
  • Сообщений: 9
  • Регистрация: 11 августа 13

iRusel (12 августа 2013 — 10:13) писал:

  • Группа: Пользователи
  • Сообщений: 9
  • Регистрация: 11 августа 13

  • Группа: Активные пользователи
  • Сообщений: 4 623
  • Регистрация: 02 августа 12

Ммм. попробуй так:

  • Группа: Пользователи
  • Сообщений: 9
  • Регистрация: 11 августа 13

iRusel (13 августа 2013 — 10:44) писал:

Ммм. попробуй так:

  • Группа: Активные пользователи
  • Сообщений: 4 623
  • Регистрация: 02 августа 12

  • Группа: Пользователи
  • Сообщений: 9
  • Регистрация: 11 августа 13

Их было больше самые простые я сразу исправил!!Остались только варнинги.

Источник

Форум Pawn.Wiki — Воплоти мечту в реальность!: error 021: symbol already defined — Форум Pawn.Wiki — Воплоти мечту в реальность!

  • Pawn скриптинг
  • Первая помощь
  • Вопросы по скриптингу
  • Правила форума
  • Просмотр новых публикаций

error 021: symbol already defined

  • Группа: Активные пользователи
  • Сообщений: 161
  • Регистрация: 30 ноября 16

Ошибки указывают на строку for()

  • Группа: Vip
  • Сообщений: 4 001
  • Регистрация: 10 апреля 15

  • Группа: Активные пользователи
  • Сообщений: 161
  • Регистрация: 30 ноября 16

Pa4enka (01 апреля 2017 — 17:39) писал:

  • Группа: Vip
  • Сообщений: 4 001
  • Регистрация: 10 апреля 15

Сообщение отредактировал Pa4enka: 01 апреля 2017 — 17:44

Источник

ALFONSO.

Регистрация
16 Окт 2020
Сообщения
206
Лучшие ответы
0
Репутация
8
Возраст
16
Адрес

Farm LS

Веб-сайт
github.com

  • #1

C++:

public OnPlayerConnect(playerid)
{
    for(new i; i != 5; i++) TextDrawShowForPlayer(playerid, LOGO[I]);
    }
    new playername[MAX_PLAYER_NAME];// Ìàñèâ äëÿ èìåíè èãðîêà
    new string[128];// Ïóòü äî ïàïêè ñ èìåíåì èãðîêà
    GetPlayerName(playerid,playername,sizeof(playername));// Óçíà¸ì èìÿ èãðîêà
    format(string,sizeof(string),"users/%s.ini", playername);// Ïóòü ê ôàéëó ñ àêêàóíòîì
    if(fexist(string))// Ïðîâåðêà íà ôàéë, åñëè îí åñòü òî âûïîëíÿåòñÿ ñëåäóþùåå äåéñòâèå.
    {
        PAccount[playerid] = 1;// Àêêàóíò åñòü
    }
        PAccount[playerid] = 0;// Àêêàóíòà íåò
}

C++:

D:UserDesktopBroadwood Role Playgamemodesbroadwood.pwn(77) : error 021: symbol already defined: "GetPlayerName"
D:UserDesktopBroadwood Role Playgamemodesbroadwood.pwn(79) : error 010: invalid function or declaration

[/I]

Последнее редактирование модератором: 2 Янв 2021

Posts: 26
Threads: 12
Joined: Mar 2012

Reputation:

0

Quote:


error 021: symbol already defined: «GetPlayerName»

The Problem Is That He Doesn’t Define In The PWN File

Posts: 91
Threads: 6
Joined: Apr 2013

Remove GetPlayerName define from the script.
Its already defined.

Posts: 772
Threads: 223
Joined: Sep 2011

Reputation:

0

Search in your include file if one of them defined that, else rename yours.

Posts: 26
Threads: 12
Joined: Mar 2012

Reputation:

0

Not exsiste in the includes, And not in the script.
I Will try to rename it and i gonna edit

Posts: 869
Threads: 48
Joined: Feb 2012

Reputation:

0

i think you defined GetPlayerName as stock in script find it and remove

Posts: 26
Threads: 12
Joined: Mar 2012

Reputation:

0

Quote:

Originally Posted by SimpalK
Посмотреть сообщение

Remove GetPlayerName define from the script.
Its already defined.

Quote:

Originally Posted by Stefand
Посмотреть сообщение

Search in your include file if one of them defined that, else rename yours.

Quote:

Originally Posted by IceBilizard
Посмотреть сообщение

i think you defined GetPlayerName as stock in script find it and remove

Quote:

Originally Posted by ivann0939
Посмотреть сообщение

Remove GetPlayerName Bro. define from the script.
Its already defined.
__________________________________________________ ___

Extream Generation Roleplay

IP: 192.168.2.2:7777
TeamSpeak:Soon!
Forum:http://exgroleplay.createaforum.com/
Owner is :Christian Ivann

If you wish to be Admin or Leader in Faction use /report or Apply on Forum!

Refund info
If you want to Refund Just type /report for a 500k,VIP-Platinuim,Car

Server Available Time
UTC/GMT +8 hours. 9:00 AM — 10:PM
Thats a Philippines Time!

Alrady delete it man, it just dont work, this is the line of the GetPlayerName:
GetPlayerName(playerid,PlayerName,24);
When I Delete it i got a Warning:
C:UsersRazDesktopAppsSystem.pwn(96) : warning 203: symbol is never used: «PlayerName»

Error 021 symbol already defined getplayername

this error is because your code is outside of a function. For example:

Right way to do is :

this error is because your code is outside of a function. For example:

Right way to do is :

Here, I’ve fixed the error for you.

public OnPlayerDeath ( playerid , killerid , reason )
<
if( killerid != INVALID_PLAYER_ID ) SetPlayerScore ( killerid , GetPlayerScore ( killerid ) + 1 );
userData [ playerid ][ Deaths ] ++;
return 1 ;
>

public OnDialogResponse ( playerid , dialogid , response , listitem , inputtext [])
<
switch( dialogid )
<
case DIALOG_REGISTER :
<
if (! response ) return Kick ( playerid );
if ( response )
<
if(! strlen ( inputtext )) return ShowPlayerDialog ( playerid , DIALOG_REGISTER , DIALOG_STYLE_INPUT , «» COLOR_WHITE «Welcome.Please log-in» , «You have entered an » COLOR_RED «invalid» COLOR_WHITE » passwordn» COLOR_WHITE «Type your » COLOR_GREEN «password » COLOR_WHITE «here to log-in» , #Register, #Quit);

new hashed_password [ 129 ];
WP_Hash ( hashed_password , sizeof ( hashed_password ), inputtext );
new INI : File = INI_Open ( UserAccountPath ( playerid ));
INI_SetTag ( File , «statistics» );
INI_WriteString ( File , «Password» , hashed_password );
INI_WriteInt ( File , «Money» , 0 );
INI_WriteInt ( File , «AdminLevel» , 0 );
INI_WriteInt ( File , «Deaths» , 0 );
INI_WriteInt ( File , «Score» , 0 );
INI_Close ( File );
SetSpawnInfo ( playerid , 0 , 0 , 1958.33 , 1343.12 , 15.36 , 269.15 , 0 , 0 , 0 , 0 , 0 , 0 );
SpawnPlayer ( playerid );
>
>
case DIALOG_LOGIN :
<
if (! response ) return Kick ( playerid );
if( response )
<
new hashed_password [ 129 ];
WP_Hash ( hashed_password , sizeof ( hashed_password ), inputtext );
if(! strcmp ( hashed_password , userData [ playerid ][ Password ]))
<
INI_ParseFile ( UserAccountPath ( playerid ), «LoadUser_%s» , . bExtra = true , . extra = playerid );
GivePlayerMoney ( playerid , userData [ playerid ][ Money ]);
SetPlayerScore ( playerid , userData [ playerid ][ Score ]);
>
else
<
ShowPlayerDialog ( playerid , DIALOG_LOGIN , DIALOG_STYLE_INPUT , «» COLOR_WHITE «Login» , «» COLOR_RED «You have entered an incorrect password.n» COLOR_WHITE «Type your password below to login.» , «Login» , «Quit» );
>
return 1 ;
>
>
>
return 1 ;
>

Источник

Форум Pawn.Wiki — Воплоти мечту в реальность!: проблема 021 — Форум Pawn.Wiki — Воплоти мечту в реальность!

  • Pawn скриптинг
  • Первая помощь
  • Проблемы с компилированием
  • Правила форума
  • Просмотр новых публикаций

  • Группа: Пользователи
  • Сообщений: 3
  • Регистрация: 12 июля 18

gwrp.pwn(339) : error 021: symbol already defined: «OnPlayerClickPlayer»

#define DSL DIALOG_STYLE_LIST
#define DSI DIALOG_STYLE_INPUT
#define DSM DIALOG_STYLE_MSGBOX
#define DSP DIALOG_STYLE_PASSWORD

forward OnPlayerRegister(playerid, password[]);
forward OnPlayerLogin(playerid,password[]);

enum pInfo
<
pPass[64],
pMoney
>;
new PlayerInfo[MAX_PLAYERS][pInfo];
new PAccount[MAX_PLAYERS];

public OnGameModeInit()
<
AddPlayerClass(14, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
>

public OnGameModeExit()
<
return 1;
>

public OnPlayerRequestClass(playerid, classid)
<
if(PAccount[playerid] == 1) // . .
<
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,». «,». n. . . . n. . . . . ?? . «,». «,»»); // . .
>
else // . . . ? .
<
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,». «,». n. . ?? . n. . . . . ?? . «,». «,»»); // . . .
>
return 1;
>

public OnPlayerConnect(playerid)
<
new playername[MAX_PLAYER_NAME]; // . . . .
new string[128];// . ?? . ? . .
GetPlayerName(playerid,playername,sizeof(playername)); // . . .
format(string,sizeof(string),»users/%s.ini», playername); // . ? . ? .
if(fexist(string)) // . ?? . . ?? . ?? . . .
<
PAccount[playerid] = 1; // . .
>
else// . . ? . . ?? . . .
<
PAccount[playerid] = 0; // . .
>
return 1;
>

public OnPlayerDisconnect(playerid, reason)
<
return 1;
>

public OnPlayerSpawn(playerid)
<
SendClientMessage(playerid,0xFFFFFFAA,». . ? . . /menu»);
return 1;
>

public OnPlayerDeath(playerid, killerid, reason)
<
return 1;
>

public OnVehicleSpawn(vehicleid)
<
return 1;
>

public OnVehicleDeath(vehicleid, killerid)
<
return 1;
>

public OnPlayerText(playerid, text[])
<
return 1;
>

public OnPlayerCommandText(playerid, cmdtext[])
<
if (strcmp(«/menu», cmdtext, true, 10) == 0)
<
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,». «,». . «,». «,». «);
return 1;
>
return 0;
>

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
<
return 1;
>

public OnPlayerExitVehicle(playerid, vehicleid)
<
return 1;
>

public OnPlayerStateChange(playerid, newstate, oldstate)
<
return 1;
>

public OnPlayerEnterCheckpoint(playerid)
<
return 1;
>

public OnPlayerLeaveCheckpoint(playerid)
<
return 1;
>

public OnPlayerEnterRaceCheckpoint(playerid)
<
return 1;
>

public OnPlayerLeaveRaceCheckpoint(playerid)
<
return 1;
>

public OnRconCommand(cmd[])
<
return 1;
>

public OnPlayerRequestSpawn(playerid)
<
return 1;
>

public OnObjectMoved(objectid)
<
return 1;
>

public OnPlayerObjectMoved(playerid, objectid)
<
return 1;
>

public OnPlayerPickUpPickup(playerid, pickupid)
<
return 1;
>

public OnVehicleMod(playerid, vehicleid, componentid)
<
return 1;
>

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
<
return 1;
>

public OnVehicleRespray(playerid, vehicleid, color1, color2)
<
return 1;
>

public OnPlayerSelectedMenuRow(playerid, row)
<
return 1;
>

public OnPlayerExitedMenu(playerid)
<
return 1;
>

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
<
return 1;
>

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
<
return 1;
>

public OnRconLoginAttempt(ip[], password[], success)
<
return 1;
>

public OnPlayerUpdate(playerid)
<
return 1;
>

public OnPlayerStreamIn(playerid, forplayerid)
<
return 1;
>

public OnPlayerStreamOut(playerid, forplayerid)
<
return 1;
>

public OnVehicleStreamIn(vehicleid, forplayerid)
<
return 1;
>

public OnVehicleStreamOut(vehicleid, forplayerid)
<
return 1;
>

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
<
if(dialogid == 1)// ?? . . .
<
if(response)// . . . . . .
<
if(!strlen(inputtext))// . . . . . . .
<
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,». . «,». n. . . n. . . ? . «,». «,»»);// . . . ? .
return 1;
>
new pass[64];// . ? .
strmid(pass,inputtext,0,strlen(inputtext),64);// . . ? .
OnPlayerLogin(playerid,pass);//. .
>
else// . . . Escape. . . .
<
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,». . «,». n. . . n. . . ? . «,». «,»»);// . . . ? .
>
>
if(dialogid == 2)// ?? . . .
<
if(response)// . . . . .
<
if(!strlen(inputtext))// . . ?? . . . . .
<
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,». . «,». n. . . n. . . ? . «,». «,»»);// . . .
return 1;
>
new pass[64];// . ? .
strmid(pass,inputtext,0,strlen(inputtext),64);// . . ? .
OnPlayerRegister(playerid,pass);// . . .
>
else// . . . Escape
<
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,». . «,». n. . . n. . . ? . «,». «,»»);// . . .
>
>
return 1;
>

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
<
return 1;
>
public OnPlayerRegister(playerid, password[])// . .
<
if(IsPlayerConnected(playerid))
<
new string[64];// . ? . . .
new playername[MAX_PLAYER_NAME];// . . . . .
GetPlayerName(playerid, playername, sizeof(playername));// . . .
format(string,sizeof(string), «users/%s.ini», playername);// . . . ? . . .
new iniFile = ini_createFile(string);// . . ? . . ? . players
if(iniFile = 0)// . . .
<
strmid(PlayerInfo[playerid][pPass],password,0,strlen(password),255);
// . . pPass, . password[]
ini_setString(iniFile,»Pass»,PlayerInfo[playerid][pPass]
);// . . . ? .
ini_closeFile(iniFile);// . .
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,». . «,». n. . . n. . . ? . «,». «,»»);// . . . ? .
>
>
return 1;
>
stock SavePlayer(playerid)
<
new string[64]; // . ? . . .
new playername[MAX_PLAYER_NAME]; // . . . . .
GetPlayerName(playerid, playername, sizeof(playername)); // . . .
format(string, sizeof(string), «users/%s.ini», playername); // . . . ? . . .
iniFile = ini_openFile(string); // . . ?? . . . .
ini_setString(iniFile,»Pass»,PlayerInfo[playerid][pPass]
);// . . . ? .
ini_closeFile(iniFile); // . .
>
public OnPlayerLogin(playerid,password[])
<
if(IsPlayerConnected(playerid))// . ?? . .
<
new string[64]; // . ? . . .
new pass[64]; // . ? .
new playername[MAX_PLAYER_NAME]; // . . . . .
GetPlayerName(playerid, playername, sizeof(playername)); // . . .
format(string,sizeof(string), «users/%s.ini», playername); // . . . ? . . .
new iniFile = ini_openFile(string); // . .
ini_getString(iniFile,»Pass»,pass,64); // . .
if(strcmp(pass,password,true) == 0) // . . . . . . . ?? . .
<
ini_getString(iniFile,»Pass»,PlayerInfo[playerid][pPass]
,64); // . .
ini_closeFile(iniFile); // . .
>
else // . . ?? .
<
ini_closeFile(iniFile); // . .
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,». «,». n. . . . n. . . . . ?? . «,». «,»»); // . . . ? .
return 1;
>
SendClientMessage(playerid,0xFF00000,». . ?? . . «); // . . .
SpawnPlayer(playerid);// . .
>
return 1;
>

stock LoadPlayerAccount(playerid)
<
return 1;
>

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
<
return 1;
>

Источник

Форум Pawn.Wiki — Воплоти мечту в реальность!: error 021: symbol already defined (cmd_get) — Форум Pawn.Wiki — Воплоти мечту в реальность!

  • Pawn скриптинг
  • Первая помощь
  • Проблемы с компилированием
  • Правила форума
  • Просмотр новых публикаций

error 021: symbol already defined (cmd_get) Помогите исправить)

  • Группа: Пользователи
  • Сообщений: 9
  • Регистрация: 15 июня 16

Сообщение отредактировал Sound: 18 июня 2016 — 11:51

  • Группа: Vip
  • Сообщений: 3 993
  • Регистрация: 10 апреля 15

Сообщение отредактировал Pa4enka: 17 июня 2016 — 16:28

  • Группа: Vip
  • Сообщений: 5 581
  • Регистрация: 09 января 13

Знал бы что скрывается под . может и по лучше сделал

Сообщение отредактировал m1n1vv: 17 июня 2016 — 16:35

  • Группа: Пользователи
  • Сообщений: 9
  • Регистрация: 15 июня 16

m1n1vv (17 июня 2016 — 16:30) писал:

  • Группа: Vip
  • Сообщений: 5 581
  • Регистрация: 09 января 13

ANDRRR10 (17 июня 2016 — 16:34) писал:

  • Группа: Пользователи
  • Сообщений: 9
  • Регистрация: 15 июня 16

m1n1vv (17 июня 2016 — 16:30) писал:

Знал бы что скрывается под . может и по лучше сделал

  • Группа: Vip
  • Сообщений: 5 581
  • Регистрация: 09 января 13

  • Группа: Пользователи
  • Сообщений: 9
  • Регистрация: 15 июня 16

m1n1vv (17 июня 2016 — 16:42) писал:

(23610) : error 017: undefined symbol «sqlcmd»
(23611) : error 017: undefined symbol «var»
(23611) : error 022: must be lvalue (non-constant)
(23611) : error 017: undefined symbol «var»
(23611) : fatal error 107: too many error messages on one line
Теперь эти ошибки.

Вместо «». » высвечиваются «Дата регистрации, ИП (рег), Номер аккаунта» и тд

Источник

Ошибка: error 001: expected token: «;», but found «бла-бла»

Решение: Идём на строку выше той, что указана в ошибке и ставим в конце ; (точку с запятой).

Ошибка: error 021: symbol already defined: «бла-бла» или warning 219: local variable «бла-бла» shadows a variable at a preceding level

Решение: Ошибка появляется, если вы несколько раз создали одну и ту же переменную,stock,public.Для решения вам просто требуется удалить дубликат.

Ошибка: error 024: «break» or «continue» is out of context

Решение: break,continue используется только в цикле (for), данная ошибка появляется, если вы использовали их не в цикле. Для решения вам нужно просто заменить их.

Ошибка: error 032: array index out of bounds (variable «cartek»)

Решение: Ошибка появляется, если у вас превышен индекс массива. Для решение вам просто надо увеличить ‘число’ в создании массива.

Ошибка: error 040: duplicate «case» label (value %d)

Решение: Ошибка появляется, если вы два раза используете case с одним и тем же параметром.

 

Ошибка: fatal error 100: cannot read from file: «бла-бла»

Решение: Ошибка появляется, если вы подключили инклуд и не добавили в папку pawno/include. Для решения вам просто надо добавить в папку данный инклуд.

Ошибка: warning 203: symbol is never used: «бла-бла»

Решение: Ошибка появляется, если созданная переменная нигде не используется. Для решения вам просто требуются ещё удалить.

Ошибка: warning 209: function «бла-бла» should return a value

Решение: Для решения проблемы в данной функции/команде вам следует добавить в конец return true/return false.

Ошибка: warning 217: loose indentation

Решение: Для решения проблемы выровняйте строки.

Ошибка: warning 235: public function lacks forward declaration (symbol «бла-бла»)

Решение: Ошибка появляется, если вы создали public,а forward нет. Для решения вам просто надо создать forward к public’y.

По мере возможности тема будет дополняться

You must be using some flags or parameters to compile the code. Else you’d get this.

Pawn compiler 3.10.7                    Copyright (c) 1997-2006, ITB CompuPhase

Usage:   pawncc <filename> [filename...] [options]

Options:
         -A<num>  alignment in bytes of the data segment and the stack
         -a       output assembler code
         -C[+/-]  compact encoding for output file (default=+)
         -c<name> codepage name or number; e.g. 1252 for Windows Latin-1
         -Dpath   active directory path
         -d<num>  debugging level (default=-d1)
             0    no symbolic information, no run-time checks
             1    run-time checks, no symbolic information
             2    full debug information and dynamic checking
             3    same as -d2, but implies -O0
         -e<name> set name of error file (quiet compile)
         -i<name> path for include files
         -l       create list file (preprocess only)
         -o<name> set base name of (P-code) output file
         -O<num>  optimization level (default=-O1)
             0    no optimization
             1    JIT-compatible optimizations only
             2    full optimizations
         -p<name> set name of "prefix" file
         -R[+/-]  add detailed recursion report with call chains (default=-)
         -r[name] write cross reference report to console or to specified file
         -S<num>  stack/heap size in cells (default=4096)
         -s<num>  skip lines from the input file
         -t<num>  TAB indent size (in character positions, default=8)
         -v<num>  verbosity level; 0=quiet, 1=normal, 2=verbose (default=1)
         -w<num>  disable a specific warning by its number
         -X<num>  abstract machine size limit in bytes
         -XD<num> abstract machine data/stack size limit in bytes
         -Z[+/-]  run in compatibility mode (default=-)
         -E[+/-]  turn warnings in to errors
         -       use '' for escape characters
         -^       use '^' for escape characters
         -;[+/-]  require a semicolon to end each statement (default=-)
         -([+/-]  require parantheses for function invocation (default=-)
         sym=val  define constant "sym" with value "val"
         sym=     define constant "sym" with value 0

Options with a value may optionally separate the value from the option letter
with a colon (":") or an equal sign ("="). That is, the options "-d0", "-d=0"
and "-d:0" are all equivalent.

Author

Message

Junior Member

Join Date: Feb 2021

Location: Romania

Old

01-10-2022

, 14:57

 

error 021: symbol already defined

Reply With Quote

#1


Hello, I have a problem with a plugin.
When I compile it it shows me this error: error 021: symbol already defined: «zp_get_user_level».
The code:

HTML Code:

#include <amxmodx>
#include <fun>
#include <zombie_plague_special>
#include <zombiexp>

#define CLASS_MESSAGE_PRINT "[ZP] Damage inflicted to you will be dealt back to your enemy." // Edit to whatever you like

new const zclass_name[] = "yReflectorul"
new const zclass_info[] = "rReflecta Gloantele Spre Tine"
new const zclass_model[] = "zombieLV24"
new const zclass_clawmodel[] = "v_knifeLV24.mdl"
const zclass_health = 39500
const zclass_speed = 999
const Float:zclass_gravity = 0.6 
const Float:zclass_knockback = 0.6 
const zclass_level = 24 

new g_zclass_mirror, g_zclass_glow_r, g_zclass_glow_g, g_zclass_glow_b, g_zclass_swarm, g_zclass_plague, g_zclass_survivor

public plugin_init() 
{
	register_plugin("[ZP] ZClass: Mirror Zombie", "1.8", "007")
	
	register_event("Damage", "mirror_dmg", "b", "2!0", "3=0", "4!0")
	
	g_zclass_swarm = register_cvar("zp_mirror_swarm", "1")
	g_zclass_plague = register_cvar("zp_mirror_plague", "1")
	g_zclass_survivor = register_cvar("zp_mirror_survivor", "0")
	
	g_zclass_glow_r = register_cvar("zp_mirror_glow_r", "250")
	g_zclass_glow_g = register_cvar("zp_mirror_glow_g", "0")
	g_zclass_glow_b = register_cvar("zp_mirror_glow_b", "0")
}

public plugin_precache()
{
	g_zclass_mirror = zpxp_register_zombie_class(zclass_name, zclass_info, zclass_model, zclass_clawmodel, zclass_health, zclass_speed, zclass_gravity, zclass_knockback, zclass_level)	
}

public zp_user_infected_post(id, infector)
{
	if (zp_get_user_zombie_class(id) == g_zclass_mirror && !zp_get_user_nemesis(id))
	{
		set_user_rendering(id, kRenderFxGlowShell, get_pcvar_num(g_zclass_glow_r), get_pcvar_num(g_zclass_glow_g), get_pcvar_num(g_zclass_glow_b), kRenderNormal, 20) // Glow
		client_print(id, print_chat, CLASS_MESSAGE_PRINT)
	}
}

public zp_user_unfrozen(id)
{
	if (zp_get_user_zombie_class(id) == g_zclass_mirror)
	{
		set_user_rendering(id, kRenderFxGlowShell, get_pcvar_num(g_zclass_glow_r), get_pcvar_num(g_zclass_glow_g), get_pcvar_num(g_zclass_glow_b), kRenderNormal, 20) // Fix in glow(Thanks Merc3y.)
	}
}  

public mirror_dmg(id)
{
	new damage = read_data(2) // Get damage
	new victim = read_data(0) // Victim(Thats you!)
	new attacker = get_user_attacker(victim) // Attacker(Your enemy)
	
	// Not alive or not a zombie
	if(!is_user_alive(id) || zp_get_user_zombie_class(id) != g_zclass_mirror || zp_get_user_nemesis(id) || zp_get_user_survivor(id))
		return PLUGIN_HANDLED
	
	if(get_pcvar_num(g_zclass_swarm) == 0)
	{
		if(zp_is_swarm_round())
			return PLUGIN_HANDLED
	}
	
	if(get_pcvar_num(g_zclass_plague) == 0)
	{
		if(zp_is_plague_round())
			return PLUGIN_HANDLED
	}
	
	if(get_pcvar_num (g_zclass_survivor) == 0)
	{
		if(zp_is_survivor_round())
			return PLUGIN_HANDLED
	}
	
	if(victim != attacker) // The victim cannot be himself
	{
		new HP = get_user_health(attacker) - damage
		if(HP > 0)
		{
			set_user_health(attacker,(HP))
		}
		else 
		{
			user_kill(attacker) // BUG FIX: This fix a bug that human doesn't die
		}
	}
	return PLUGIN_HANDLED
}

Could you please help me? thank you in advance.

victorrr is offline

error 001: expected token: "%s", but found "%s" - ожидался символ: "%s", но был найден "%s";
error 002: only a single statement (or expression) can follow each "case" - только одно заявление (или выражение) могут следовать за "case";
error 003: declaration of a local variable must appear in a compound block - объявленная локальная переменная должна использоваться в этом же блоке;
error 004: function "%s" is not implemented - функция %s не реализована;
error 005: function may not have arguments - функция не имеет аргументов;
error 006: must be assigned to an array - должен быть присвоен массив;
error 007: operator cannot be redefined - оператор не может быть установлен еще раз;
error 008: must be a constant expression; assumed zero - должно быть постоянным выражением; равным нулю;
error 009: invalid array size (negative or zero) - неверный размер массива (отрицательный или 0);
error 010: invalid function or declaration - неизвестная функция или декларация;
error 011: invalid outside functions - неверно вне функции;
error 012: invalid function call, not a valid address - неверный вызов функции, неверный адрес;
error 013: no entry point (no public functions) - нет точки входа (не public функция);
error 014: invalid statement; not in switch - неверный оператор; не в switch;
error 015: "default" case must be the last case in switch statement - "default" должен быть последним условием в switch;
error 016: multiple defaults in "switch" - несколько "default" в switch;
error 017: undefined symbol "%s" - неизвестный символ "%s";
error 018: initialization data exceeds declared size - данные массива превышают его размер;
error 019: not a label: %s" - не метка "%s";
error 020: invalid symbol name "%s" - неверное имя символа "%s";
error 021: symbol already defined: %s" - символ уже объявлен: "%s";
error 022: must be lvalue (non-constant) - должно быть левосторонним (нет постоянной);
error 023: array assignment must be simple assignment - назначение массива должно быть простым;
error 024: "break" or "continue" is out of context - "break" или "continue" вне контекста;
error 025: function heading differs from prototype - функция заголовка отличается от прототипа;
error 026: no matching "#if..." - не найдено "#if...";
error 027: invalid character constant - недопустимый символ в постоянной;
error 028: invalid subscript (not an array or too many subscripts): "%s" - неверный индекс (это не массив или слишком много индексов): "%s";
error 029: invalid expression, assumed zero - неверное выражение, нет результата;
error 030: compound statement not closed at the end of file - составной оператор не закрыт в конце файла;
error 031: unknown directive - неизвестная директива;
error 032: array index out of bounds (variable "%s") - индекс массива превышен;
error 033: array must be indexed (variable "%s") - массив должен быть проиндексирован;
error 034: argument does not have a default value (argument %d) - аргумент не имеет начального значения (аргумент %d);
error 035: argument type mismatch (argument %d) - несоответствие типа аргумента (аргумент %d);
error 036: empty statement - пустой оператор;
error 037: invalid string (possibly non-terminated string) - неправильная строка;
error 038: extra characters on line - лишние символы в строке;
error 039: constant symbol has no size - символьная константа не имеет размера;
error 040: duplicate "case" label (value %d) - несколько раз объявлен "case" с одним тем же параметром;
error 041: invalid ellipsis, array size is not known - размер массива неизвестен;
error 042: invalid combination of class specifiers - недопустимое сочетание класса;
error 043: character constant exceeds range for packed string - символьная константа превышает размер строки;
error 044: positional parameters must precede all named parameters - позиционные параметры должны предшествовать всем именованным параметрам;
error 045: too many function arguments - слишком много аргументов у функции;
error 046: unknown array size (variable "%s") - неизвестный размер массива;
error 047: array sizes do not match, or destination array is too small - размеры массива конфликтуют, либо целевой массив слишком маленький;
error 048: array dimensions do not match - размеры массива не совпадают;
error 049: invalid line continuation - неправильное продолжение строки;
error 050: invalid range - неверный диапазон;
error 051: invalid subscript, use "[ ]" operators on major dimensions - неправильный индекс, используйте "[]";
error 052: multi-dimensional arrays must be fully initialized - много-размерные массивы должны быть полностью определены;
error 053: exceeding maximum number of dimensions - превышение максимального числа измерений;
error 054: unmatched closing brace - не найдена закрывающаяся скобка;
error 055: start of function body without function header - начало функции без заголовка;
error 056: arrays, local variables and function arguments cannot be public (variable "%s") - массивы, локальные переменные и аргументы функции не могут быть общедоступными;
error 057: unfinished expression before compiler directive - незавершенное выражение для компилятора;
error 058: duplicate argument; same argument is passed twice - дублирование аргумента; Аргумент передается несколько раз;
error 059: function argument may not have a default value (variable "%s") - аргумент не может иметь значение по-умолчанию;
error 060: multiple "#else" directives between "#if ... #endif" - Несколько "#else" между "#if ... #endif" - несколько "#else" между "#if и #endif";
error 061: "#elseif" directive follows an "#else" directive - "#else" перед "#elseif";
error 062: number of operands does not fit the operator - количество операндов не соответствует оператору;
error 063: function result tag of operator "%s" must be "%s" - Результат функции %s должен быть %s;
error 064: cannot change predefined operators - невозможно изменить уже определенные операторы;
error 065: function argument may only have a single tag (argument %d) - в этой функции может быть только один аргумент;
error 066: function argument may not be a reference argument or an array (argument "%s") - аргумент функции не может быть ссылкой или массивом;
error 067: variable cannot be both a reference and an array (variable "%s") - Переменная не может быть как массив или ссылка;
error 068: invalid rational number precision in #pragma - неверное число в #pragma;
error 069: rational number format already defined - формат рационального числа уже определен;
error 070: rational number support was not enabled - рациональное число не поддерживается;
error 071: user-defined operator must be declared before use (function "%s") - объявленный оператор должен быть перед использованием;
error 072: "sizeof" operator is invalid on "function" symbols - оператор "sizeof" не может быть использован для символов функции;
error 073: function argument must be an array (argument "%s") - аргумент %s должен быть массивом;
error 074: #define %s must start with an alphabetic character - #define должен начинаться с буквы;
error 075: input line too long (after substitutions - введенная строка слишком длинная;
error 076: syntax *error in the expression, or invalid function call - неправильный синтаксис или неправильный вызов функции;
error 077: malformed UTF-8 encoding, or corrupted file: %s - плохая кодировка UTF-8 или плохой файл: %s;
error 078: function uses both "return" and "return <value>" - функция использует "return" и "return <значение>";
error 079: inconsistent return types (array & non-array) - несовместимость типов возвращенных результатов;
error 080: unknown symbol, or not a constant symbol (symbol "%s") - неизвестный или непостоянный символ: %s;
error 081: cannot take a tag as a default value for an indexed array parameter (symbol "%s") - не может принимать тег в качестве значения по умолчанию для параметра индексированного массива;
error 082: user-defined operators and native functions may not have states - созданные функции или операторы не имеют состояния;
error 083: a function may only belong to a single automaton (symbol "%s") - функция может принадлежать только к одной автоматизации;
error 084: state conflict: one of the states is already assigned to another implementation (symbol "%s") - конфликт состояния: одно из состояний уже назначено на другую реализацию;
error 085: no states are defined for function "%s" - нет состояний, определенных для функции "%s";
error 086: unknown automaton "%s" - неизвестная автоматизация "%s";
error 087: unknown state "%s" for automaton "%s" - неизвестное состояние "%s" в автоматизации "%s";
error 088: number of arguments does not match definition - количество аргументов не совпадает с объявленными в функции;

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Error 021 pawno
  • Error 0200 failure fixed disk 0 что делать
  • Error 020 terminal specific forward carrier lookup is ongoing
  • Error 020 invalid symbol name
  • Error 02 троян скачать fb2 бесплатно полностью

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии