/Report command
#2

pawn Код:
YCMD:report(playerid, o[], help)
{
    if(help) return SendClientMessage(playerid, -1,"Report command details");
    new name[MAX_PLAYER_NAME], str[128];
    if(isnull(o)) return SendClientMessage(playerid, -1,"Syntax Error: /report [Description]");
    GetPlayerName(playerid, name, sizeof(name));
    format(str,sizeof(str),"|- %s has made an report. Description: %s -|", name, o);
    SendClientMessageToAll(-1, str);
    return true;
}
Reply


Messages In This Thread
/Report command - by mike_1 - 08.10.2011, 19:03
Re: /Report command - by Jafet_Macario - 08.10.2011, 20:15

Forum Jump:


Users browsing this thread: 1 Guest(s)