SetEntityPosition

From GTA Network Wiki
Jump to: navigation, search

SetEntityPosition
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Sets the position of an entity.

Syntax

void NAPI.Entity.SetEntityPosition(NetHandle netHandle, Vector3 newPosition);
  • netHandle: parameter input should be in NetHandle type.
  • newPosition: parameter input should be in Vector3 type.

Usage example(s)

NAPI.Entity.SetEntityPosition(someNetHandle, new Vector3(1234, 2345, 1234));


Changelog

Version Description
1.0 Release.

References