/reports
#10

Try this :

PHP код:
CMD:reports(playerid,params[])
{
    
#pragma unused params
    
if(adlvl[playerid] >= 1) {
        new 
ReportCount;
        for(new 
iMAX_REPORTSi++) if(strcmp(Reports[i], "<none>"true)) {
            
ReportCount =1;
            
SendClientMessage(playeridCOLOR_WHITEReports[i]);
        }
        if(
ReportCount == 0)
            
SendClientMessage(playeridCOLOR_WHITE"There have been no reports");
    }
    else
        
SendClientMessage(playeridCOLOR_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)