> For the complete documentation index, see [llms.txt](https://docs.hzz.im/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hzz.im/gta5/midnight/lua.md).

# 午夜使用Lua教程

**官网论坛下载午夜Lua文件**

**下载后解压,然后打开安装器**

![](/files/15Wcz571pkVQm7c1TY01)

![](/files/E6XUAcQSDVnsVHY6bnY0)

**游戏内操作：**

**Lua-选择你需要运行的Lua-输入相关命令使用**

{% hint style="info" %} <mark style="color:blue;">**使用的方法是**</mark><mark style="color:blue;">**&#x20;**</mark><mark style="color:blue;">**`指令形式`**</mark><mark style="color:blue;">**&#x20;**</mark><mark style="color:blue;">**在聊天框中输入指令(需确保你的注入法输入的 / 是英文输入法)**</mark>

<mark style="color:blue;">**前缀是/ 指令有:**</mark>`/传送 /前置 /分红 /其他`
{% endhint %}

{% hint style="danger" %} <mark style="color:red;">**不推荐新手萌新使用午夜的Lua文件，你需要在聊天框一行一行输入代码操作，难度较大**</mark>
{% endhint %}
