# Configuration Helps

The `config.lua` file for the SS-Documents RedM script defines the configuration settings for creating, managing, and accessing documents within the game. Below is an explanation and example code illustrating the key parts of this configuration:

#### Key Configuration Elements

* **PaperItem**: This property specifies the item required to write a new document, which is set to `"`paperitem`"`.
* **Align**: This property sets the text alignment for documents, currently set to `"right"`.
* **Texts**: A table containing text identifiers and their respective string values, used for menu descriptions and document types. This allows customization and localization of different document-related texts.
* **AllowedDocs**: A dictionary that links each document category to specific job roles allowed to access or generate these documents. For example, the `"police"` category can be accessed by roles like `"PolitiaFederala"` and `"Maresal"`.
* **Documents**: This table defines the different document types, with each category containing specific documents, their titles, subtitles, and required form elements.

This code snippet demonstrates how to access and utilize the configuration settings to retrieve menu texts, validate access for different job roles, and interact with document information.


---

# 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://docs.sirecstudio.com/ss-documents/configuration-helps.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.
