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

SetEntityVelocity

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

Sets the velocity for the given entity.


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

Parameters

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


Example

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