Report command
#2

pawn Code:
COMMAND:report(playerid,params[])
{
        new report[100];
        if(sscanf(params,"s[100]",report)) return SendClientMessage(playerid,COLOR_GREY,"USAGE:/report [reason]");
        for(new admins;PlayerInfo[admins][pAdminLevel] < MAX_PLAYERS; admins++)
    {
        format(String,sizeof(String),"Report From %s REPORT:{6EF83C}%s",Name[playerid],report);
        SendClientMessage(admins,COLOR_ORANGE,String);
        SendClientMessage(playerid,COLOR_ORANGE,"Report Sended!");
        break;
    }
   
        return 1;
}
This could help you.
Reply


Messages In This Thread
Report command - by bartje01 - 11.06.2011, 21:53
Re: Report command - by arturo clark - 11.06.2011, 21:58
Re: Report command - by Crimson - 11.06.2011, 22:12
Re: Report command - by bartje01 - 11.06.2011, 22:12
Re: Report command - by Markx - 11.06.2011, 22:17
Re: Report command - by bartje01 - 11.06.2011, 22:19

Forum Jump:


Users browsing this thread: 2 Guest(s)