Перейти к содержанию

SetEntityPosition

Материал из RAGE MP Wiki Archive

Sets the position for the given entity.


<syntaxhighlight lang="csharp">void NAPI.Entity.SetEntityPosition(NetHandle netHandle, Vector3 newPosition);</syntaxhighlight>

Parameters

  • netHandle: parameter input should be in NetHandle type
  • newPosition: parameter input should be in Vector3 type


Example

<syntaxhighlight lang="csharp"> // Code here... </syntaxhighlight>