Detach( <modelname>, <tagname> )


Module: Entity

Summary:

detaches an attached model from an entity



Call this on:

An Entity



Example:

self Detach( "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)