Warning
#1

gamemodes\GameMode.pwn(21255) : warning 219: local variable "string" shadows a variable at a preceding level

Lines:
Код:
(The Warning Line)public LoginLog(string[])
{
	new entry[256];
	format(entry, sizeof(entry), "%s\n",string);
	new File:hFile;
	hFile = fopen("login.log", io_append);
	fwrite(hFile, entry);
	fclose(hFile);
}
Here is the forward
Код:
forward LoginLog(string[]);
If anyone know how can I fix it, please tell me in reply...
Reply


Messages In This Thread
Warning - by CarlosScripter - 10.04.2017, 17:09
Re: Warning - by Vince - 10.04.2017, 17:39
Re: Warning - by CarlosScripter - 11.04.2017, 17:56
Re: Warning - by khRamin78 - 11.04.2017, 19:02
Re: Warning - by Vince - 11.04.2017, 19:16

Forum Jump:


Users browsing this thread: 1 Guest(s)