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

SetMarkerDirection

Материал из RAGE MP Wiki Archive
Версия от 16:29, 13 декабря 2019; imported>Bonus (Created page with "Sets the direction of a marker created with CreateMarker. {{CSharpContainer| {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Marker.SetMarkerDirection(NetHandle m...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Sets the direction of a marker created with CreateMarker.


void NAPI.Marker.SetMarkerDirection(NetHandle marker, Vector3 direction);

Parameters

  • marker: Parameter input should be in NetHandle type.
  • direction: Parameter input should be in Vector3 type.

Example

<syntaxhighlight lang="csharp"> NAPI.Marker.SetMarkerDirection(marker, new Vector3(0, 0, 180)); </syntaxhighlight>