डिक्लेरेशन
func SwitchWeapon(target entity<Player>, slot SwitchEquipSlot, out var isSuccess bool)
go
पैरामीटर्स
इनपुट
| नाम | टाइप | विवरण |
|---|---|---|
| Target | Player | Target Player |
| Slot | SwitchWeaponEquipSlot | The weapon slot to switch to |
आउट
| नाम | टाइप | विवरण |
|---|---|---|
| Is Success | Bool | Whether the switch is successful. If there is no weapon equipped in the weapon slot, the switch will fail. |