Garry's Mod Wiki

NPC:SetForceCrouch

  NPC:SetForceCrouch( boolean force )

Description

Forces given NPC to crouch, if it is able to do so. Only Citizens and Combine Soldiers can by default.

Arguments

1 boolean force
Whether to force the NPC to crouch or not. false clears the "force crouch" flag, but does not guarantee to force the NPC to stand back up.