/reports
#1

I have this command but when someone report someone, i need to check /reports!

/reports say there is no reports yet, when the player has reported! like!




Код:
CMD:reports(playerid,params[])
{
    #pragma unused params
    if(adlvl[playerid] >= 1) {
        new ReportCount;
		for(new i; i < MAX_REPORTS; i++) if(strcmp(Reports[i], "<none>", true)) {
			ReportCount++;
			SendClientMessage(playerid, COLOR_WHITE, Reports[i]);
		}
		if(ReportCount == 0)
			SendClientMessage(playerid, COLOR_WHITE, "There have been no reports");
    }
	else
		SendClientMessage(playerid, COLOR_RED, "ERROR: You need to be level 1/Help moderator to use this command");
	return 1;
}
Reply


Messages In This Thread
/reports - by KamalBa - 22.06.2015, 18:16
Re: /reports - by Prokill911 - 22.06.2015, 18:18
Re: /reports - by KamalBa - 22.06.2015, 18:21
Re: /reports - by KamalBa - 22.06.2015, 18:39
Re: /reports - by rappy93 - 22.06.2015, 18:40
Re: /reports - by KamalBa - 22.06.2015, 18:42
Re: /reports - by Pottus - 22.06.2015, 18:45
Re: /reports - by KamalBa - 22.06.2015, 18:50
Re: /reports - by Prokill911 - 22.06.2015, 20:37
Re : /reports - by KillerDVX - 22.06.2015, 20:43

Forum Jump:


Users browsing this thread: 1 Guest(s)