symbol already defined
#1

E:\Pwn\pawno\include\YSI\..\YSI_Data\..\YSI_Intern al\..\YSI_Core\y_utils.inc(430) : warning 201: redefinition of constant/macro (symbol "isnull(%1)")
E:\Pwn\pawno\include\YSI\..\YSI_Data\y_foreach/iterators.inc(586) : warning 202: number of arguments does not match definition
E:\Pwn\pawno\include\YSI\..\YSI_Data\y_foreach/iterators.inc(582) : warning 203: symbol is never used: "addsiren"
E:\Pwn\pawno\include\YSI\..\YSI_Data\y_foreach/iterators.inc(62 : warning 202: number of arguments does not match definition
E:\Pwn\pawno\include\YSI\..\YSI_Data\y_foreach/iterators.inc(624) : warning 203: symbol is never used: "addsiren"
C:\Users\ANSH\Desktop\World War IV (build 9)\gamemodes\worldwar.pwn(1661) : error 021: symbol already defined: "ReturnPlayerName"
C:\Users\ANSH\Desktop\World War IV (build 9)\gamemodes\worldwar.pwn(8319) : error 021: symbol already defined: "isnumeric"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.
help
Reply
#2

show the code
lines where the errors are
Reply
#3

error no 1 returnplayername
Код:
 ReturnPlayerName(playerid)
{
	new name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, name, MAX_PLAYER_NAME);
	return name;
}
error no 2 isnumeric
Код:
isnumeric(str[])
{
	new ch, i;
	while ((ch = str[i++])) if (!('0' <= ch <= '9'))
	{
		return false;
	}
	return true;
}
Reply
#4

It says already defined, try deleting those and compile
Reply
#5

And also search for "isnull" line and delete it completely as you are redefining it twice (based on your first warning)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)