ToggleChatTextReplacement
எச்சரிக்கை
செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!
Description
Toggles the chat input filter.
Disable it to use of chars like % in the chat.
| Name | Description |
|---|---|
| bool:enable | 'true' to enable or 'false' to disable the chat input filter. |
Returns
This function does not return any specific value.
Examples
public OnGameModeInit()
{
ToggleChatTextReplacement(false);
return 1;
}
Notes
உதவிக்குறிப்பு
You can also toggle the chat input filter in the config.json file.
"chat_input_filter": true,
Related Functions
- ChatTextReplacementToggled: Checks if the chat input filtering is enabled or disabled.