08.10.2011, 19:03
hey guys can any1 tell me how to make the /report command
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;
}