Need help with Warning 221 (Y_INI)
#1

Okay so it has been around an hour since I have been trying to fix this error. Guess I will post it here and see if anyone is able to help. It would be greatly appreciated. I am using y_ini (and yes, it is included).

Error: (I believe the first one is causing the rest of them.)
Quote:

(100) : warning 221: label name "INI" shadows tag name
(100) : error 017: undefined symbol "file"
(101) : error 017: undefined symbol "file"
(102) : error 017: undefined symbol "file"
(100) : warning 203: symbol is never used: "INI"

I also tried to find any other text matching with "INI", but everything I found is in this code...

Код:
#include <YSI\y_ini> /* ... Stuff ...*/

public Register(playerid,inputtext[])
{
	new filepath[128],pname[24];
	GetPlayerName(playerid,pname,sizeof(pname));
	format(filepath,sizeof(filepath),USERPATH,pname);
	
	INI:myfile = INI_Open(filepath); // Error line
	INI_WriteString(myfile, "password", inputtext);
	INI_Close(myfile);
	
	SendClientMessage(playerid,COLOR_GREEN,"You have been registered. Welcome to the server!");
	return 1;
}
EDIT: ****** didn't help either.
Reply


Messages In This Thread
Need help with Warning 221 (Y_INI) - by Rub0Gameton - 30.09.2012, 03:03
Re: Need help with Warning 221 (Y_INI) - by trapstar2020 - 30.09.2012, 03:21
Re: Need help with Warning 221 (Y_INI) - by Rub0Gameton - 30.09.2012, 04:00
Re: Need help with Warning 221 (Y_INI) - by zDevon - 30.09.2012, 04:11
Re: Need help with Warning 221 (Y_INI) - by Rub0Gameton - 30.09.2012, 04:12
Re: Need help with Warning 221 (Y_INI) - by zDevon - 30.09.2012, 04:16

Forum Jump:


Users browsing this thread: 1 Guest(s)