From 9f4c6c61d9c895ca9f8b976e9194ee6773a8da45 Mon Sep 17 00:00:00 2001 From: Impact Date: Wed, 15 Jan 2020 00:00:27 +0100 Subject: [PATCH] Add comment about common.phrases to FindTarget (#1155) * Add note about common.phrases * Update helpers.inc Co-authored-by: Kyle Sanderson --- plugins/include/helpers.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/include/helpers.inc b/plugins/include/helpers.inc index ebb5c047..c6b9ab77 100644 --- a/plugins/include/helpers.inc +++ b/plugins/include/helpers.inc @@ -150,6 +150,10 @@ stock int SearchForClients(const char[] pattern, int[] clients, int maxClients) * Wraps ProcessTargetString() and handles producing error messages for * bad targets. * + * Note that you should use LoadTranslations("common.phrases") in OnPluginStart(). + * "common.phrases" contains all of the translatable phrases that FindTarget() will + * reply with in the event a target is not found (error). + * * @param client Client who issued command * @param target Client's target argument * @param nobots Optional. Set to true if bots should NOT be targetted