---
title: "2 篇文件帶有標籤「train」 | open.mp"
canonical: https://omp.itsneufox.com/zh-TW/docs/tags/train
language: zh-TW
---

# 2 篇文件帶有標籤「train」

[檢視所有標籤](https://omp.itsneufox.com/zh-TW/docs/tags)

[

## NPC\_GetVehicleTrainSpeed

](https://omp.itsneufox.com/zh-TW/docs/scripting/functions/NPC_GetVehicleTrainSpeed)

Gets the train speed for an NPC driving a train.

[

## NPC\_SetVehicleTrainSpeed

](https://omp.itsneufox.com/zh-TW/docs/scripting/functions/NPC_SetVehicleTrainSpeed)

Sets the speed of an NPC's train vehicle.
