09.07.2012, 20:30
(
Last edited by Elysian`; 09/07/2012 at 09:10 PM.
)
Not to hijack the thread, but look how easier it is to make a /report command:
P.S ^ is a proper /report command, yours is more of an "/assistance" command.
EDIT: Nevermind, I forgot I used a stock ¬_¬
pawn Code:
CMD:report(playerid, params[])
{
new string[128], reason[128], reportid;
if(sscanf(params, "is", reportid, reason)) return SendClientMessage(playerid, COLOR_RED, "|- [Error] /report [id] [text] -|");
format(string, sizeof(string), "REPORT: Player %s(%d) has reported %s(%d) for: %s", GetName(playerid), playerid, GetName(reportid), reportid, reason);
SendMessageToAdmins(COLOR_YELLOW, string);
SendClientMessage(playerid, COLOR_YELLOW, "Your report has been sent to all online Administrators");
return 1;
}
EDIT: Nevermind, I forgot I used a stock ¬_¬