AttachEntity

From GTA Network Wiki
Jump to navigation Jump to search

Template:Client side javascript Client-side Function Description

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);

Changelog

Version Description
1.0 Release.

References