UTIL_SayText2Filter
![English (en) English (en)](/w/images/thumb/3/37/Flag-en.png/16px-Flag-en.png)
![Icon-translate.png](/w/images/thumb/b/b1/Icon-translate.png/12px-Icon-translate.png)
... ![Icon-Important.png](/w/images/thumb/5/5c/Icon-Important.png/10px-Icon-Important.png)
![Icon-Important.png](/w/images/thumb/5/5c/Icon-Important.png/10px-Icon-Important.png)
UTIL_SayText2Filter
is a UTIL function that sends a quadradic message to a player if they pass a filter. The message consists of a format string with up to four parameters usable.
Declaration
void UTIL_SayText2Filter( IRecipientFilter& filter, CBasePlayer *pEntity, bool bChat, const char *msg_name, const char *param1, const char *param2, const char *param3, const char *param4 );
msg_name
- Name of the format string.param1
- Format string parameter.param2
- Format string parameter.param3
- Format string parameter.param4
- Format string parameter.
Examples
![Blank image.png](/w/images/b/ba/Blank_image.png)