command for /changename?
#5

Got 2 warnings

Code:
warning 219: local variable "pName" shadows a variable at a preceding level
error 017: undefined symbol "StripNewLine"
I've got the 2nd pName. What should I remove or change?
Code:
stock pName(playerid)
{
	new paname[MAX_PLAYER_NAME];
	GetPlayerName(playerid, paname, sizeof(paname));
	return paname;
}
Reply


Messages In This Thread
command for /changename? - by .v - 25.09.2012, 10:54
Re: command for /changename? - by West X - 26.09.2012, 22:04
Re: command for /changename? - by .v - 26.09.2012, 23:53
Re: command for /changename? - by West X - 27.09.2012, 00:27
Re: command for /changename? - by .v - 27.09.2012, 00:59
Re: command for /changename? - by West X - 27.09.2012, 01:06
Re: command for /changename? - by .v - 27.09.2012, 01:17
Re: command for /changename? - by West X - 27.09.2012, 01:22
Re: command for /changename? - by .v - 27.09.2012, 01:25
Re: command for /changename? - by West X - 27.09.2012, 01:33

Forum Jump:


Users browsing this thread: 3 Guest(s)