HidePart( <tagname>, <modelname> )

Module: Entity


Hide part of an entity.

Call this on:

An Entity


self HidePart( "tag_weapon", "weapon_saw" );

Required Args:

  • 1 : <tagname> The tag to hide. All surfaces with a vertex weighted to the tag will be hidden and have no bullet collision. (string)

Optional Args

  • 1 : <modelname> The optional model name to help specify the part location. (string)