GetEntityFrontPosition

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

Gets a world-relative position in front of entity, the range is not precise, it's like the very edge of the entity.

Syntax

Vector3 API.getEntityFrontPosition(LocalHandle entity);

Required Arguments

  • entity: parameter input should be in LocalHandle type.

Note: This function returns data in Vector3 type.

Usage example(s)

Vector3 API.getEntityFrontPosition(LocalHandle entity);

References