28.02.2012, 10:56
pawn Код:
command(report, playerid, params[]) {
new report[128], name[24];
if(sscanf(params, "s[128]", report)) return SendClientMessage(playerid, -1, "/report [reason]");
GetPlayerName(playerid, name, 24);
format(report, sizeof(report), "%s report's %s", name, report);
for(new i = 0; i != MAX_PLAYERS; ++i) {
if(AdminLevel[i] > 0) {
SendClientMessage(i, -1, report);
}
}
return 1;
}