# Auto System

{% hint style="success" %}
You can make the any motel automatic. So players can rent rooms for themselves.
{% endhint %}

{% hint style="info" %}
Automatic Rent Menu
{% endhint %}

<figure><img src="/files/lHYgQHHm1vIRIsID1HkM" alt=""><figcaption></figcaption></figure>

<div><figure><img src="/files/mBu0y2SSl5WywyOp7Tpk" alt=""><figcaption></figcaption></figure> <figure><img src="/files/KMkywmsXv2YsSy2iOl0c" alt=""><figcaption></figcaption></figure></div>

## You Can Configure Price Per Minute.

{% hint style="info" %}
mx-motels > server > motels.lua
{% endhint %}

```lua
expense = 50,                              -- One minute rent price. 
```

## The Room Management Menu Changes Slightly.

<figure><img src="/files/Y4FMkeIgA5lnO9a1jOkL" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}

```
Create Key is only available for metadata inventories.

ox_inventory, qb-inventory, qs-inventory
```

{% endhint %}


---

# 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.moxha.dev/documentation/paid-scripts/motels/introduction/auto-system.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.
