Client-side only.
8174 {
8176
8177 bool liftChange = m_LiftWeapon_player != state;
8178 bool obstructChange = Math.AbsFloat(m_ObstructWeapon_player-obstruct) > 0.03;
8179
8180
8181 m_LiftWeapon_player = state;
8182 m_ObstructWeapon_player = obstruct;
8183
8184 if (liftChange)
8185 {
8187 }
8188
8189 if (!liftChange && !obstructChange)
8190 {
8191
8192 return;
8193 }
8194
8195
8197 {
8198 ScriptInputUserData ctx = new ScriptInputUserData;
8200 {
8201
8202 return;
8203 }
8204
8207 ctx.
Write(obstruct);
8209 }
8210 }
override WeaponManager GetWeaponManager()
proto bool Write(void value_out)
proto native CGame GetGame()
void HumanCommandWeapons()