xPlayer.getWeapon¶
1 |
|
This functions returns the loadoutNum
and a weapon object for the weapon if the player has it.
参数¶
参数 | 数据类型 | 数据类型 | 默认值 | 说明 |
---|---|---|---|---|
weaponName | string | No | - | Weapon name |
xPlayer.getWeapon 示例¶
1 2 3 4 5 6 7 |
|
1 |
|
This functions returns the loadoutNum
and a weapon object for the weapon if the player has it.
参数 | 数据类型 | 数据类型 | 默认值 | 说明 |
---|---|---|---|---|
weaponName | string | No | - | Weapon name |
1 2 3 4 5 6 7 |
|