DetachEntity

From GT-MP
Jump to: navigation, search
DetachEntity
Shared Function
Utilities-terminal.png Server-Side System-users.png Client-Side
Csharp.png C# Javascript.png JavaScript

Detaches an entity previously 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