Detach(<modelname>,<tagname>)


Module: Entity

Summary:

Detaches an attached model from an entity.



Call this on:

An Entity



Example:

 self detach("xmodel/explosivepack", "tag_weapon_right");



Required Args:

  • 1 : <modelname> The model name to detach (string)


Optional Args:

  • 1 : <tagname> The tag to detach the model from (string)