199 {
200 HumanItemBehaviorCfg itemInHandsCfg =
m_Player.GetItemAccessor().GetItemInHandsBehaviourCfg();
201 bool boo = false;
202 UAInterface input_interface =
m_Player.GetInputInterface();
203 if(input_interface && input_interface.
SyncedPress(
"UAGear"))
204 {
205 boo = true;
206 }
207 if( boo || pHic.
IsWeaponRaised() || (itemInHandsCfg && itemInHandsCfg.
m_iType == ItemBehaviorType.HEAVY) )
208 {
209 return false;
210 }
211
213 return false;
214
215 return true;
216 }
proto native bool SyncedPress(string action, bool check_focus=true)