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

GetPlayersInRadiusOfPosition

Материал из RAGE MP Wiki Archive
Версия от 21:50, 22 декабря 2022; imported>Xabi
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Syntax

<syntaxhighlight lang="C#" >List<Player> NAPI.Player.GetPlayersInRadiusOfPosition(float radius, Vector3 position);</syntaxhighlight>

Required Arguments

  • radius: parameter input should be in float type.
  • position: parameter input should be in Vector3 type.

NOTE: This function returns data in List<Player> type.

Usage example(s)

Example Description <syntaxhighlight lang="C#" >NAPI.Player.GetPlayersInRadiusOfPosition(radius, position);</syntaxhighlight>