DetachEntity

From GTA Network Wiki
Revision as of 18:29, 11 September 2016 by Adam (talk | contribs) (Created page with "__NOTOC____NOEDITSECTION__ Detaches an entity previous attached using attachEntityToEntity ==Syntax== <syntaxhighlight lang="C#" >API.detachEntity(NetHandle entity, bool...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Detaches an entity previous attached using attachEntityToEntity

Syntax

API.detachEntity(NetHandle entity, bool resetCollision = true);

Required Arguments

  • entity: parameter input should be in NetHandle type.

Optional Arguments

  • resetCollision: parameter input should be in bool type, Default value: true.

Usage example(s)

   API.detachEntity(entity);

Changelog

Version Description
1.0 Release.

References