SetEntityRotation

From GT-MP
Jump to: navigation, search
SetEntityRotation
Shared Function
Utilities-terminal.png Server-Side System-users.png Client-Side
Csharp.png C# Javascript.png JavaScript

Function Description

Syntax

API.setEntityRotation(NetHandle netHandle, Vector3 newRotation);

Required Arguments

  • netHandle: parameter input should be in NetHandle type.
  • newRotation: parameter input should be in Vector3 type.

Usage example(s)

Example Description

API.setEntityRotation(NetHandle netHandle, Vector3 newRotation);

References