SAdefault

武器 Weapon

武器类型 → 模型 / 槽位

sa · 扩展 default · SCM 原生命令

共 2 条。写法见 Lua / Redux

类型 → 模型

GET_WEAPONTYPE_MODEL · 0781
Weapon.GetModel

武器类型 → 模型 ID。

0781 GET_WEAPONTYPE_MODEL
in: weaponType
out: modelId

类型 → 槽位

GET_WEAPONTYPE_SLOT · 0782
Weapon.GetSlot

武器类型 → 武器槽位。

0782 GET_WEAPONTYPE_SLOT
in: weaponType
out: slot

On this page