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

SetEntityVelocity

Материал из RAGE MP Wiki Archive
Версия от 09:17, 30 ноября 2019; imported>Xabi (Created page with "Sets the velocity for the given entity. {{CSharpContainer| {{#tag:syntaxhighlight|void {{Template:CSharp_Serverside_namespace}}Entity.SetEntityVelocity(NetHandle netHandle,...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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>