Перейти к содержанию

SetGlobalDefaultCommandMessages

Материал из RAGE MP Wiki Archive
Версия от 10:48, 12 декабря 2019; imported>Bonus (Created page with "Toggles the global default command messages (e.g. on wrong parameters). False => no default command message anymore. {{CSharpContainer| {{#tag:pre|void {{Template:CSharp_Serv...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Toggles the global default command messages (e.g. on wrong parameters). False => no default command message anymore.


void NAPI.Server.SetGlobalDefaultCommandMessages(bool toggle);

Parameters

  • toggle: parameter input should be in bool type

Example

<syntaxhighlight lang="csharp"> NAPI.Server.SetGlobalDefaultCommandMessages(false); </syntaxhighlight>