> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remote and keys list

> Lock your car, use the remote, give a copy of your keys and change the lock

Every player has two screens: the **remote** of the car, and the **keys list** with every key they have.

## Default keys

| Key | What it does |
| - | - |
| **U** | Locks or unlocks your closest car (up to 15 m away) |
| **U** twice, quickly | Opens the remote of your closest car (up to 100 m away) |
| **,** (comma) | Opens the keys list |
| **G** | Starts or stops the engine, only if the admin turned this key on |
| **Esc** | Closes the remote or the keys list |

Players can change these keys in the game: **Settings > Key Bindings > FiveM**, the lines "Open/Close vehicle", "Open vehicles keys menu" and "Toggle vehicle engine".

## For the player

> [tab] Remote
>
> Press **U** twice to open it. You see the name and plate of the car and a drawing of it from above.
>
> * **Lock** / **Unlock** and **Start engine** / **Stop engine** are buttons on the remote
> * Click a door, the hood or the trunk on the drawing to open or close it. The car must be unlocked first
> * The arrows at the top switch between your cars near you ("Car 1 of 3"). Pick one in the list to see it on the map for a few seconds
> * The gear opens your own settings: "Close all doors when I lock the car", "Open the driver door when I unlock the car" and "Lock by itself when I walk away (keyless cars)"
>
> A car with [keyless entry](https://docs.jaksam-scripts.com/vehicles-keys/guides/keyless-and-relay.md) shows a **Keyless** badge on the remote.

> [tab] Keys list
>
> Press **,** to open it. Every key you have is a row with the plate, the car name and its type:
>
> | Type | Meaning |
> | - | - |
> | **Owned** | A car you own |
> | **Copy** | A copy somebody gave you |
> | **Temporary** | Keys that stop working at the next restart, for example keys found in a car |
>
> The keys of the cars near you are at the top and say "near you". Use the search field to find a plate or a car name.

### Give a copy of your keys

**1. Stand next to the player**

The copy goes to the closest player, within **5 m**. The card says "Goes to the player 2 m from you", or "Nobody is within 5 m" when nobody is close enough.

**2. Open the keys list**

Press **,** and click the key of your car (type **Owned**).

**3. Pick the copy**

* **Temporary copy**: works until the server restarts
* **Permanent copy**: stays after a restart, until you change the lock

The other player gets the message "You got a copy of the keys of plate ...".

### Change the lock

Use it when you gave a copy to somebody you don't trust any more, or when a thief may have copied your key.

**1. Open the key**

Press **,** and click the key of your car.

**2. Change the lock**

Click **Change the lock and take back every copy**, then **Change the lock** to confirm.

Every copy of that car stops working: the ones you gave, the permanent ones saved after a restart, the [key items](https://docs.jaksam-scripts.com/vehicles-keys/guides/keys-as-items.md) and the copies a thief made with a [key programmer](https://docs.jaksam-scripts.com/vehicles-keys/guides/key-cloning.md). **Your own key keeps working.**

> [!NOTE]
>
> Keys caught with a [relay device](https://docs.jaksam-scripts.com/vehicles-keys/guides/keyless-and-relay.md) are not copies: they stop working by themselves after a few minutes.

### Throw away a key

Click a **Copy** or **Temporary** key, then **Throw away the keys** and **Throw away**. You can't open or start that car any more. The keys of a car you own can't be thrown away.

## For the admin

Everything is in `/vehiclekeys` > **Settings**.

| Option | What it does |
| - | - |
| Players can give copies of their car keys | On by default. Off: the keys list says "This server does not let players share the keys of their own cars" |
| Default lock key (players can change it) | `u` by default |
| Default keys menu key (players can change it) | `comma` by default |
| Keys menu position (players) | Where the keys list opens on the screen |
| Players can walk and look around with the remote open | On by default. Off: players stand still while the remote or the keys list is open |
| Allow auto close doors on vehicle lock | Lets players turn on "Close all doors when I lock the car" |
| Allow auto open driver door on vehicle unlock | Lets players turn on "Open the driver door when I unlock the car" |
| Enable toggle engine key | Adds the engine key (**G** by default) |
| Auto start engine if the vehicle is owned | The engine starts by itself when the player gets in a car they have keys for |
| Vehicle lock: animation | The animation played when the player locks or unlocks |

> [!NOTE]
>
> With sharing off, **Change the lock** is still there when [key cloning](https://docs.jaksam-scripts.com/vehicles-keys/guides/key-cloning.md) is on, so owners can make the thieves' copies useless.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.