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

Marker::Marker

Материал из RAGE MP Wiki Archive
Версия от 07:36, 5 сентября 2020; imported>Krotter (Replaced markers list with template)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Function: Create a marker

Parameters

  • type: Int
  • position: Vector3
  • scale: Float
  • direction: Vector3
  • rotation: Vector3
  • color: [Int, Int, Int, Int] [0:255]
  • visible: Boolean
  • dimension: Int

Syntax

Shared

<syntaxhighlight lang="javascript"> mp.markers.new(type, position, scale, {

   direction: direction,
   rotation: rotation,
   color: color,
   visible: visible,
   dimension: dimension

}); </syntaxhighlight>

Markers type

See Also