mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-11 05:58:21 +00:00
Add comment about common.phrases to FindTarget (#1155)
* Add note about common.phrases * Update helpers.inc Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
This commit is contained in:
parent
c94886cdda
commit
6f44e88009
@ -150,6 +150,10 @@ stock int SearchForClients(const char[] pattern, int[] clients, int maxClients)
|
|||||||
* Wraps ProcessTargetString() and handles producing error messages for
|
* Wraps ProcessTargetString() and handles producing error messages for
|
||||||
* bad targets.
|
* 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 client Client who issued command
|
||||||
* @param target Client's target argument
|
* @param target Client's target argument
|
||||||
* @param nobots Optional. Set to true if bots should NOT be targetted
|
* @param nobots Optional. Set to true if bots should NOT be targetted
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user