> 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/akxi-lie/safezone/pei-zhi.md).

# 配置

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

```lua
Config = {}

-- 框架选择
Config.Framework = 'auto'  -- 可选值: 'qb', 'qbx', 'esx', 'auto' (自动检测)

-- 复活系统选择
Config.RespawnSystem = 'auto'  -- 可选值:  'esx', 'wasabi' , 'osp', 'auto' (自动检测)   'qb-ambulance',  将在下次更新实现

-- 通知选择
Config.NotificationType = 'auto'  -- 可选值: 'qb', 'okok', 'esx', 'ox', 'auto' (自动检测)

-- 选择语言文件，支持英文 'en', 中文简体 'cn', 中文繁体 'hk' 等
Config.Language = 'cn' -- 默认使用中文

-- 是否禁用近战攻击
Config.DisableMelee = true   -- 仅限设置安全区

-- 是否禁用挥手动作
Config.DisableHandGesture = true  -- 仅限设置安全区

-- 安全区配置
Config.SafeZones = {
    {
        name = '中庭',
        center = vector3(220.9969, -797.1030, 30.8841), -- 安全区中心坐标
        radius = 50.0, -- 安全区半径（米）
        displayCircle = true, -- 是否在小地图上显示圆圈
    },
    {
        name = '医院',
        center = vector3(323.2214, -592.7776, 43.2840), -- 安全区中心坐标
        radius = 50.0, -- 安全区半径（米）
        displayCircle = false, -- 是否在小地图上显示圆圈
    },
    -- 你可以在这里添加更多的安全区
}

-- 战区配置
Config.WarZones = {
    {
        name = '战区',  -- 战区名称
        center = vector3(1066.1505, 2309.3284, 51.9528),  -- 战区中心坐标
        respawnCoords = vector3(1030.3064, 2462.2949, 45.9500),  -- 复活坐标
        radius = 200.0,  -- 战区半径（米）
        respawnTime = 3000,  -- 死亡后复活时间，单位秒
        invincibleTime = 5000,  -- 无敌时间，单位秒
        displayCircle = true,  -- 是否在小地图上显示圆圈
    },
    {
        name = '战区2',  -- 战区名称
        center = vector3(123, 456, 789),  -- 战区中心坐标
        respawnCoords = vector3(123, 456, 789),  -- 固定复活坐标
        radius = 10.0,  -- 战区半径（米）
        respawnTime = 3000,  -- 死亡后复活时间，单位秒
        invincibleTime = 5000,  -- 无敌时间，单位秒
        displayCircle = false,  -- 是否在小地图上显示圆圈
    },
    -- 你可以继续添加更多的战区
}
```


---

# 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/akxi-lie/safezone/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.
