Implemented amb340 - amx_ban / amx_banip now display reason in the show_activity blurb.

Language files need synced.
This commit is contained in:
Steve Dudenhoeffer 2007-08-03 15:46:50 +00:00
parent 67ac030c56
commit b4ff754e29

View File

@ -464,6 +464,10 @@ public cmdBan(id, level, cid)
{
formatex(msg[len], charsmax(msg) - len, "%L", i, "PERM");
}
if (strlen(reason) > 0)
{
formatex(msg[len], charsmax(msg) - len, " (%L: %s)", i, "REASON", reason);
}
show_activity_id(i, id, name, msg);
}
}
@ -537,6 +541,10 @@ public cmdBanIP(id, level, cid)
{
formatex(msg[len], charsmax(msg) - len, "%L", i, "PERM");
}
if (strlen(reason) > 0)
{
formatex(msg[len], charsmax(msg) - len, " (%L: %s)", i, "REASON", reason);
}
show_activity_id(i, id, name, msg);
}
}