diff --git a/plugins/basecommands.sp b/plugins/basecommands.sp index 29580132..394fa172 100644 --- a/plugins/basecommands.sp +++ b/plugins/basecommands.sp @@ -667,7 +667,14 @@ public Action:Command_Kick(client, args) ShowActivity(client, "%t", "Kicked player", arg); LogAction(client, target, "\"%L\" kicked \"%L\" (reason \"%s\")", client, target, Arguments[len]); - KickClient(target, "%s", Arguments[len]); + if (Arguments[0] == '\0') + { + KickClient(target, "%t", "Kicked by admin"); + } + else + { + KickClient(target, "%s", Arguments[len]); + } return Plugin_Handled; } @@ -685,4 +692,4 @@ public Action:Command_CancelVote(client, args) CancelVote(); return Plugin_Handled; -} \ No newline at end of file +} diff --git a/translations/common.phrases.txt b/translations/common.phrases.txt index ef295e68..8cea8de6 100644 --- a/translations/common.phrases.txt +++ b/translations/common.phrases.txt @@ -26,6 +26,11 @@ "#format" "{1:s}" "en" "Kicked player '{1}'" } + + "Kicked by admin" + { + "en" "Kicked by administrator" + } "Changing map" {