AttachCameraToEntityBone

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

Client-side Function Description


Syntax

API.attachCameraToEntityBone(GlobalCamera cam, LocalHandle ent, int bone, Vector3 offset);

Required Arguments

  • cam: parameter input should be in GlobalCamera type.
  • ent: parameter input should be in LocalHandle type.
  • bone: parameter input should be in int type.
  • offset: parameter input should be in Vector3 type.

Usage example(s)

API.attachCameraToEntityBone(GlobalCamera cam, LocalHandle ent, int bone, Vector3 offset);

References