> For the complete documentation index, see [llms.txt](https://infinity-labs.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://infinity-labs.gitbook.io/docs/free-scripts/il-cruise-speed/installation.md).

# Installation

<figure><img src="/files/INx4LEdVessXzC41pGSW" alt=""><figcaption></figcaption></figure>

***

### 📦 Installation

#### 1️⃣ Add Resource

Place the folder into your server’s `resources` directory:

***

#### 2️⃣ Edit Config

Open `config.lua` and adjust to your liking:

```lua
Config.SpeedLimiter = {
    enabled = true,         -- Enable/disable speed limiter
    command = 'setspeed',   -- Command used in-game
    useMPH = true,          -- true = MPH, false = KM/H
    minSpeed = 0,           -- Minimum allowed speed (0 disables limiter)
    maxSpeed = 200,         -- Maximum allowed speed
    showNotifications = true
}
```

#### 3️⃣ Ensure Resource

Add the resource to your server.cfg:

ensure IL-cruise

#### ⚙ Notes

You must be the driver of the vehicle.

The limiter automatically turns off if you exit the vehicle.

Speed is enforced by SetVehicleMaxSpeed for consistent behavior.
