> For the complete documentation index, see [llms.txt](https://crimvex-studio.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://crimvex-studio.gitbook.io/docs/scripts/crimvex-rental/rental-locations/vip-vehicles.md).

# VIP Vehicles

Crimvex Rental allows you to restrict specific vehicles to VIP players.

This feature is ideal for:

* Donor Vehicles
* Premium Memberships
* Supporter Rewards
* Server Booster Perks
* Exclusive Vehicle Access

The script verifies the player's Discord roles before allowing access to VIP vehicles.

***

## Enable a VIP Vehicle

To make a vehicle VIP-only, simply set:

```lua
vip = true
```

Example:

```lua
{
    displayName = "Windsor Drop",
    model = "windsor2",
    money = 1500,
    img = "windsor2.webp",
    seats = 4,
    category = "car",
    vip = true
}
```

Only players with the configured Discord role will be able to rent this vehicle.

***

## Normal Vehicles

Vehicles available to everyone should use:

```lua
vip = false
```

Example:

```lua
{
    displayName = "Blista",
    model = "blista",
    money = 250,
    img = "blista.webp",
    seats = 4,
    category = "car",
    vip = false
}
```

***

## How It Works

When a player opens the rental menu:

1. The script checks whether the selected vehicle is marked as VIP.
2. If the vehicle is not VIP, everyone can rent it.
3. If the vehicle is VIP, the player's Discord roles are verified.
4. Players with the required role can continue with the rental.
5. Players without permission will be denied access.

***

## Discord Integration

VIP verification uses your Discord server roles.

Before using VIP vehicles, you must configure:

* Discord Bot Token
* Guild ID
* VIP Role IDs

These settings are configured in:

```
server/secrets.lua
```

See the **Secrets Configuration** page for setup instructions.

***

## Example Configuration

Normal Vehicle

```lua
{
    displayName = "Blista",
    vip = false
}
```

VIP Vehicle

```lua
{
    displayName = "Windsor Drop",
    vip = true
}
```

***

## Tips

✅ Use VIP vehicles for exclusive content.

✅ Keep normal vehicles available for all players.

✅ Configure your Discord Bot before enabling VIP vehicles.

✅ Verify that the bot has permission to read member roles.

***

## Common Issues

### Everyone can rent VIP vehicles

Check that:

* `vip = true` is set.
* Your Discord Bot is running.
* The correct VIP Role ID has been configured.
* The player actually has the required Discord role.

***

### Nobody can rent VIP vehicles

Verify:

* Discord Bot Token
* Guild ID
* Role IDs
* Bot permissions
* Server members have linked Discord accounts (if required by your setup)

***

## Next Step

Continue to **⛽ Fuel System Integration** to configure support for your preferred fuel script.
