3929 {
3931 if (itemInHands)
3932 {
3933 if (itemInHands.IsHeavyBehaviour())
3934 {
3936 #ifdef SERVER
3937 ServerDropEntity(itemInHands);
3938 #endif
3939 }
3940 else
3941 {
3943 }
3944 itemInHands.OnItemInHandsPlayerSwimStart(this);
3945 }
3947
3948 GameInventory inventory = GetInventory();
3949 if (inventory)
3951
3954
3958
3959 g_Game.GetMission().AddActiveInputExcludes({
"swimming"});
3960 }
class GP5GasMask extends MaskBase ItemBase
proto native void LockInventory(int lockType)
override WeaponManager GetWeaponManager()
void CloseInventoryMenu()
int m_AnimCommandStarting
ItemBase GetItemInHands()
void TryHideItemInHands(bool hide, bool force=false)
tries to hide item in player's hands, some exceptions for various movement states
void RequestHandAnimationStateRefresh()
void DelayedRefreshAnimationState(int delay)