SASA 扩展SAMPFUNCS

3D标签 SampTextLabel3D

模拟 SA-MP 3D 文本

sa · 扩展 SAMPFUNCS · 仅 SA-MP;需 SAMPFUNCS

共 6 条。调用见 Lua / Redux

创建 / 删除

SAMP_CREATE_3D_TEXT · 0B44
SampTextLabel3D.Create

按给定参数创建模拟的 SA-MP 3D 文本。

0B44 SAMP_CREATE_3D_TEXT
in: text, color, coordX, coordY, coordZ, visibilityRadius, showBehindWalls, attachedPlayerId, attachedCarId
out: handle
SAMP_DELETE_3D_TEXT · 0B45
SampTextLabel3D.Delete

按 ID 销毁 3D 文本。用在 if 里。

0B45 SAMP_DELETE_3D_TEXT
in: self
SAMP_DOES_3D_TEXT_EXIST · 0B46
SampTextLabel3D.DoesExist

若指定 3D 文本存在则为真。

0B46 SAMP_DOES_3D_TEXT_EXIST
in: self

指定 ID / 参数

SAMP_CREATE_3D_TEXT_WITH_ID · 0C45
SampTextLabel3D.CreateWithId

用指定 ID 创建/覆盖 3D 文本。

0C45 SAMP_CREATE_3D_TEXT_WITH_ID
in: idAsHandle, text, color, coordX, coordY, coordZ, visibilityRadius, showBehindWalls, attachedPlayerId, attachedCarId
SAMP_GET_3D_TEXT_PARAMS · 0C46
SampTextLabel3D.GetParams

按 ID 返回 SampTextLabel3D 的全部信息。

0C46 SAMP_GET_3D_TEXT_PARAMS
in: self
out: text, color, coordX, coordY, coordZ, visibilityRadius, showBehindWalls, attachedPlayerId, attachedCarId
SAMP_SET_3D_TEXT · 0C47
SampTextLabel3D.SetText

设置 3D 文本的新文字。用在 if 里。

0C47 SAMP_SET_3D_TEXT
in: self, text

On this page