# qb-interior

## Introduction

* Handles all the logic for spawning shell models by exporting functions that can be called in other client-side files

## Configuration

{% hint style="success" %}
This resource requires no configuration unless you want to add more exports
{% endhint %}

## What's included?

{% hint style="info" %}
The below pdf file shows which shell models come by default
{% endhint %}

{% file src="/files/hMimQSaxsWpKc4K5lKwZ" %}

{% hint style="success" %}
Optionally, this resource comes pre-configured for all of [K4MB1](https://www.k4mb1maps.com/) shells!
{% endhint %}

## Usage example

```lua
RegisterCommand('spawnshell', function()
    local ped = PlayerPedId()
    local coords = GetEntityCoords(ped)
    local shell = exports['qb-interior']:CreateApartmentShell(coords)
end)
```


---

# 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.qbcore.org/qbcore-documentation/qbcore-resources/qb-interior.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.
