3792 {
3794 if (itemInHands)
3795 {
3796 if (itemInHands.IsHeavyBehaviour())
3797 {
3799 #ifdef SERVER
3800 ServerDropEntity(itemInHands);
3801 #endif
3802 }
3803 else
3804 {
3806 }
3807 itemInHands.OnItemInHandsPlayerSwimStart(this);
3808 }
3810
3811 if (GetInventory())
3812 GetInventory().LockInventory(LOCK_FROM_SCRIPT);
3813
3816
3820
3822 }
class GP5GasMask extends MaskBase ItemBase
proto native Mission GetMission()
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 AddActiveInputExcludes(array< string > excludes)
void DelayedRefreshAnimationState(int delay)
proto native CGame GetGame()