Aller au contenu principal

ToggleChatTextReplacement

attention

La fonctionnalité de type fonction a été ajoutée dans la version omp v1.1.0.2612 et ne fonctionne pas avec les versions antérieures !

Description​

Toggles the chat input filter.

Disable it to use of chars like % in the chat.

NameDescription
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​

astuce

You can also toggle the chat input filter in the config.json file.

"chat_input_filter": true,