# How to add another hotel example

## Video tutorial with editor

Editor

## How to add another hotel example

```lua
Config.Hotels = { --Predefined gabz motel you can change it to whatever hotel you like

	-------------------------------------------
	-- First hotel
	-------------------------------------------
	{
		displayName = 'Pinkcage motel',
		name = 'pinkcage', --Must be uniq for every hotel
		paymentType = 'invoice', --Standard or invoice
		distance = 100.0,
		blip = {
			color = 15,
			sprite = 542,
			coords = vector3(325.71, -211.33, 54.09),
			scale = 0.8,
		},
		doorText = {
			size = 0.8,
			scale = 0.8,
			renderDistance = 3,
		},

		rooms = {
			-------------------------------------------
			-- Room list for this hotel
			-------------------------------------------
			{
				name = 'pinkcage14',
				price = 500,
				storage = {
					state = false,
					position = vector3(310.47, -198.6, 53.23)
				},
				clothes = {
					state = true,
					position = vector3(302.97, -207.0, 54.23)
				},
				door = {
					name = 'Room 14#',
					objHash = -1156992775,
					position = vector3(306.8, -213.6, 54.37),
					offset = {
						x = 0.5,
						y = 0,
						z = 0.5
					},
					objHeading = 68.96
				},
			},
			-------------------------------------------
		},
	},
	-------------------------------------------
	-- Second hotel
	-------------------------------------------
	{
		displayName = 'Another hotel',
		name = 'another_hotel', --Must be uniq for every hotel
		paymentType = 'invoice', --Standard or invoice
		distance = 100.0,
		blip = {
			color = 15,
			sprite = 542,
			coords = vector3(0.71, -0.33, 0.09),
			scale = 0.8,
		},
		doorText = {
			size = 0.8,
			scale = 0.8,
			renderDistance = 3,
		},

		rooms = {
			-------------------------------------------
			-- Room list for this hotel
			-------------------------------------------
			{
				name = 'pinkcage14',
				price = 500,
				storage = {
					state = false,
					position = vector3(5.47, -5.6, 5.23)
				},
				clothes = {
					state = true,
					position = vector3(3.97, -3.0, 5.23)
				},
				door = {
					name = 'Room 14#',
					objHash = -1156992775,
					position = vector3(7.8, -7.6, 5.37),
					offset = {
						x = 0.5,
						y = 0,
						z = 0.5
					},
					objHeading = 68.96
				},
			},
			-------------------------------------------
		},
	},
	-------------------------------------------
}
```


---

# 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://documentation.rcore.cz/paid-resources/rcore_hotel/how-to-add-another-hotel-example.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.
