AttachCameraToEntity

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

Client-side Function Description


Syntax

API.attachCameraToEntity(GlobalCamera cam, LocalHandle ent, Vector3 offset);

Required Arguments

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

Usage example(s)

API.attachCameraToEntity(GlobalCamera cam, LocalHandle ent, Vector3 offset);

References