Report System
#1

Howdy, So im working on a report system so that one they do /report [Text]

It send's the message to Admins Only.

The only problem is that i do not know how i would make it sent to Admins Only.

Here is the /report Command so Far.

pawn Код:
CMD:report(playerid,params[])
{
    new text,pName[MAX_PLAYER_NAME],string[128];
    if(sscanf(params, "s[125]", text)) return SendClientMessage(playerid, COLOR_RED, "USAGE: /report [Text]");
    else
    {
        PlayerInfo[playerid][pReportSent] = 1;
        SendClientMessage(playerid,COLOR_YELLOW,"Your Report Has Been Sent Succesfully...");
        GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
        format(string,128,"%s:[%d]:%s",pName,playerid,text);
        SendClientMessage(playerid,COLOR_ORANGE,string);
    }
    return 1;
}
Reply


Messages In This Thread
Report System - by Shockey HD - 01.12.2011, 21:07
Re: Report System - by grand.Theft.Otto - 01.12.2011, 21:39
Re: Report System - by JohnD123 - 12.04.2014, 03:08
Re: Report System - by Hanuman - 12.04.2014, 03:39
Re: Report System - by RajatPawar - 12.04.2014, 07:19

Forum Jump:


Users browsing this thread: 1 Guest(s)