GetActiveCamera

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

This function should return the currently active Camera. Returns null if gameplay camera is active.

Syntax

API.getActiveCamera();

NOTE: This function returns data in GlobalCamera type.

Usage example(s)

API.getActiveCamera();

References