Erorr while compiling
#1

So I've put the code "cmd:ar" and I have some errors while compiling, can you help me?

That's the code
Код:
CMD:ar(playerid, params[])
{
	new id;
	if(sscanf(params, "u", id)) return SCM(playerid, COLOR_GREY "/ar [playerid]");
	{
		if(PlayerInfo[playerid][pAdmin] >= 1)
		{
			if(PlayerInfo[id][pReported] == 1)
			{
				SendClientMessage(id, COLOR_ATTACK, "Reportul tau a fost primit si este in curs de rezolvare.");
				format(szMessage, sizeof(szMessage), "(/ar) %s has accepted %s's report.",GetName(playerid),GetName(id));
				submitToAdmins(szMessage, COLOR_FRED);
				playerVariables[playerid][pReportAccepted] = id;
				playerVariables[id][pReported] = 0;
				playerVariables[id][pReportAccepted2] = playerid;
			}
		}
	}
	return 1;
}
And there are the errors: http://imgur.com/a/9NA4V
Reply


Messages In This Thread
Erorr while compiling - by DarkElement - 14.08.2016, 21:48
Re: Erorr while compiling - by Vince - 14.08.2016, 22:14
Re: Erorr while compiling - by DarkElement - 14.08.2016, 22:18
Re: Erorr while compiling - by Shinja - 14.08.2016, 22:19
Re: Erorr while compiling - by DarkElement - 14.08.2016, 22:22
Re: Erorr while compiling - by Vince - 14.08.2016, 23:17
Re: Erorr while compiling - by WhiteGhost - 14.08.2016, 23:24

Forum Jump:


Users browsing this thread: 1 Guest(s)