4218 {
4220 if (itemInHands)
4221 {
4222 if (itemInHands.IsHeavyBehaviour())
4223 {
4225 #ifdef SERVER
4226 ServerDropEntity(itemInHands);
4227 #endif
4228 }
4229 else
4230 {
4232 }
4233 itemInHands.OnItemInHandsPlayerSwimStart(this);
4234 }
4236
4237 GameInventory inventory = GetInventory();
4238 if (inventory)
4240
4243
4247
4248 g_Game.GetMission().AddActiveInputExcludes({
"swimming"});
4249 }
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)