[HELP] symbol already defined: "ReturnUser"
#1

I Have This Error :

Код:
error 021: symbol already defined: "ReturnUser"
LINE :
Код:
ReturnUser(text[]) {

	new
		strPos,
		returnID = 0,
		bool: isnum = true;

	while(text[strPos]) {
		if(isnum) {
			if ('0' <= text[strPos] <= '9') returnID = (returnID * 10) + (text[strPos] - '0');
			else isnum = false;
		}
		strPos++;
	}
	if (isnum) {
		if(IsPlayerConnected(returnID)) return returnID;
	}
	else {

		new
			sz_playerName[MAX_PLAYER_NAME];

		foreach(new i: Player) {
			GetPlayerName(i, sz_playerName, MAX_PLAYER_NAME);
			if(!strcmp(sz_playerName, text, true, strPos)) return i;
		}
	}
	return INVALID_PLAYER_ID;
}
Help me please !
Reply
#2

"symbol already defined" I wonder what that could mean...

Search that error and you shall see!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)