DetachEntity

From GTA Network Wiki
Jump to: navigation, search

DetachEntity
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Detaches an entity previously attached using AttachEntityToEntity

Syntax

void NAPI.Entity.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.

Usage example(s)

NAPI.Entity.DetachEntity(entity);

Changelog

Version Description
1.0 Release.

References