08.10.2011, 20:15
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;
}