11.06.2011, 21:58
pawn Code:
COMMAND:report(playerid,params[])
{
new report[100];
if(sscanf(params,"s[100]",report)) return SendClientMessage(playerid,COLOR_GREY,"USAGE:/report [reason]");
for(new admins;PlayerInfo[admins][pAdminLevel] < MAX_PLAYERS; admins++)
{
format(String,sizeof(String),"Report From %s REPORT:{6EF83C}%s",Name[playerid],report);
SendClientMessage(admins,COLOR_ORANGE,String);
SendClientMessage(playerid,COLOR_ORANGE,"Report Sended!");
break;
}
return 1;
}