> 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/density/pei-zhi.md).

# 配置

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

```lua
Config = {}

Config.Command = 'npc'           -- 打开 NPC 控制菜单的命令

Config.DefaultSettings = {       -- 所有数值范围建议是 0.0 ~ 1.0 （不是百分比）
    pedDensity = 1.0,            -- 行人密度（👥）
    vehicleDensity = 1.0,        -- 交通车辆密度（🚗）
    parkedDensity = 1.0,         -- 停车车辆密度（🅿️）
    randomVehicleDensity = 1.0,  -- 随机生成车辆密度（🎲）
    scenarioPedDensity = 1.0,    -- 场景 NPC 密度（🎭）
    disableEmergency = true,     -- 🚨 禁用紧急服务（警察、救护车）
    disableGarbageTrucks = true, -- 🗑️ 禁用垃圾车
    disableRandomBoats = true,   -- ⛵ 禁用随机船只
}

Config.AllowedLicenses = {               -- 可以在 txAdmin 或日志里找到
    'license:xxxxxxxxxxxxxxxxxxxxxxxxx', -- 管理员许可证
    -- 在你可以添加更多管理员
}
```


---

# 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/density/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.
