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

SetEntityRotation

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

Sets the rotation for the given entity.


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

Parameters

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


Example

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