> For the complete documentation index, see [llms.txt](https://ak-scripts.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://ak-scripts.gitbook.io/docs/mian-fei-jiao-ben/gao-ji-che-liang-xian-su/pei-zhi.md).

# 配置

你可以在`config.lua`更改列出功能！

```lua
Config = {}

Config.DefaultSpeed = 435  -- 🌍 全服最高速度 (公里)

Config.Notify = 'ak-lib'   -- 🔔 请下载使用ak-lib通知，这通知是免费的

Config.Vehicles = {        -- 🚗 单车辆限速 (根据模型名)
    {
        model = 't20',     -- 车的代码
        speed = 500        -- 限制的速度
    },
    -- 你可以添加更多车辆
}

Config.Zones = {                                        -- 📍 区域限速 (进入范围自动限速)
    {                                                   -- 如果不想启用区域限速请把整段代码注释掉
        name = '中庭',                                  -- 区域名称
        coords = vector3(217.4317, -826.5461, 30.5840), -- 区域中心点坐标
        DrawDistance = 50.0,                            -- 限速范围（单位：米）
        speed = 50                                      -- 区域限速（单位：km/h）
    },
    -- 你可以添加更多限速区域
}

Config.Messages = {   -- 通知文本配置
    enter = {
        title    = '🚦 限速提示',
        message  = '进入 [%s] 限速区，最高时速 [%s] km/h',
        type     = 'warning',
        duration = 10000
    },
    exit = {
        title    = '🚦 限速提示',
        message  = '已离开限速区，恢复正常速度',
        type     = 'success',
        duration = 4000
    }
}

--[[

先把通知购买了：https://ak-scripts.tebex.io/package/7065567
然后在密钥下载：https://portal.cfx.re/assets/granted-assets
装进先启动 ak-lib 再启动本插件即可，不然会没通知提醒的（免费的）

]]
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://ak-scripts.gitbook.io/docs/mian-fei-jiao-ben/gao-ji-che-liang-xian-su/pei-zhi.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.
