[URGENT] need command /report
#2

Using ZCMD, enjoy

pawn Код:
#include    <foreach>

CMD:report(playerid, params[])
{
    new string[128], id;
    if(sscanf(params, "us[128]", id, params))
    {
        foreach(Player, i)
        {
            if(IsPlayerAdmin(i))
            {
                format(string, sizeof(string), "Report from (%d): %s", id, params");
                SendClientMessage(i, -1, string);
                SendClientMessage(playerid, -1, "
You report has been sent to the administrators");
            }
        }
    }
    else return SendClientMessage(playerid, -1, "
Usage: /report [id] [text]");
    return 1;
}
Reply


Messages In This Thread
[URGENT] need command /report - by RiChArD_A - 31.12.2012, 21:30
Re: [URGENT] need command /report - by ViruZz - 31.12.2012, 21:51
Respuesta: Re: [URGENT] need command /report - by RiChArD_A - 01.01.2013, 15:41
Respuesta: [URGENT] need command /report - by RiChArD_A - 01.01.2013, 22:27
Respuesta: [URGENT] need command /report - by RiChArD_A - 02.01.2013, 20:40
Re: [URGENT] need command /report - by aslan890 - 02.01.2013, 20:43
Re: [URGENT] need command /report - by aslan890 - 02.01.2013, 20:45
Respuesta: Re: [URGENT] need command /report - by RiChArD_A - 02.01.2013, 20:47
Re: Respuesta: Re: [URGENT] need command /report - by ViruZz - 03.01.2013, 00:06
Respuesta: [URGENT] need command /report - by RiChArD_A - 03.01.2013, 00:32

Forum Jump:


Users browsing this thread: 1 Guest(s)