# Инструкция mod

Инструкция mod используется для включения или исключения блоков описаний и настроек в зависимости от глобального режима.&#x20;

В игре есть два глобальных режима:

* Мультиплеер (mp)
* Все остальное (сингловое прохождение миссий, редактор...)

> Формат описания инструкции mod
>
> ```
> (mod name {code})
> ```

<details>

<summary>Пример использования Инструкции mod</summary>

```
(mod mp {code})
```

*Если игра устанавливает модификатор mp (игрок запустил мультиплеер), то блок {code} вставляется в SDL*

</details>

Команду mod можно использовать также в формате запрета

<details>

<summary>Пример использования Инструкции в формате запрета</summary>

```
(mod not_mp {code})
```

*Если модификатор mp не был выставлен, то блок {code} будет вставляться в SDL*

</details>

{% hint style="info" %}
Если у вас возникли сложности с пониманием терминологии и сути описания Инструкции, то ознакомьтесь с информацией из статьи [Общая информация о конфигурационных файлах](https://bestway-1.gitbook.io/dokumentaciya/nastroiki-igrovykh-parametrov/obshaya-informaciya-o-konfiguracionnykh-failakh)
{% endhint %}

Дополнительно можно ознакомиться с другими инструкциями

<table data-card-size="large" data-view="cards"><thead><tr><th data-card-target data-type="content-ref"></th><th data-hidden></th><th data-hidden></th><th data-hidden></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><a href="/pages/gR0BKFlBMsebWgFEACqv">/pages/gR0BKFlBMsebWgFEACqv</a></td><td>Текст</td><td></td><td></td><td><a href="/files/7PiLyqlIStMHdiy0XHd4">/files/7PiLyqlIStMHdiy0XHd4</a></td></tr><tr><td><a href="/pages/6gUIIaHfhttNoIIRNNZb">/pages/6gUIIaHfhttNoIIRNNZb</a></td><td>Текст</td><td></td><td></td><td><a href="/files/7PiLyqlIStMHdiy0XHd4">/files/7PiLyqlIStMHdiy0XHd4</a></td></tr></tbody></table>

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bestway-1.gitbook.io/documentation/gem-rts-v1-ru/bazovaya-informaciya-o-gem-rts/obshaya-informaciya-o-konfiguracionnykh-failakh/instrukciya-mod.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
