AttachEntity

From GT-MP
Jump to: navigation, search
AttachEntity
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Client-side Function Description

Dialog-warning.png API.attachEntity() will be removed in version 0.1.7, see Deprecated.

Syntax

API.attachEntity(LocalHandle ent1, LocalHandle ent2, string bone, Vector3 positionOffset, Vector3 rotationOffset);

Required Arguments

  • ent1: parameter input should be in LocalHandle type.
  • ent2: parameter input should be in LocalHandle type.
  • bone: parameter input should be in string type.
  • positionOffset: parameter input should be in Vector3 type.
  • rotationOffset: parameter input should be in Vector3 type.

Usage example(s)

API.attachEntity(LocalHandle ent1, LocalHandle ent2, string bone, Vector3 positionOffset, Vector3 rotationOffset);

References