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).
int FindTarget(int client, const char[] target, bool nobots, bool immunity)
Client who issued command
Client's target argument
Optional. Set to true if bots should NOT be targetted
Optional. Set to false to ignore target immunity.
Index of target client, or -1 on error.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.