> For the complete documentation index, see [llms.txt](https://docs.otherplanet.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.otherplanet.dev/scripts/op-garages-v2/sub-owners.md).

# Sub Owners

Want to allow your players to give the copy of vehicle keys?

<figure><img src="https://36113860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1vEl4u37HzsUUsBP0oWM%2Fuploads%2FGtnVxPx8BbG4re1UqFV5%2Fimage.png?alt=media&amp;token=e6b4ba53-8f55-4a56-b79c-f41eb8f60533" alt=""><figcaption><p>Select Player From Nearby list.</p></figcaption></figure>

## Configuration&#x20;

```lua
Config.SubOwners = {
    Allow = true, -- Disable/Enable sub owners feature.
    Command = "subowner", -- Command Name
    Price = 5000, -- Price of adding subowner
    -- You can add your custom pay method using server/editable/payForSubOwner.lua
    -- You can also set open menu function only for donators or whatever you want using: client/editable/restrictSubOwners.lua
}
```

***

## Restrict Usage

You can restrict usage for only donators or whatever you want.&#x20;

```
client/editable/restrictSubOwners.lua
```
