GetPlayersInRadiusOfPosition: Difference between revisions
(Created page with "==Syntax== <syntaxhighlight lang="C#" >List<Client> NAPI.Player.GetPlayersInRadiusOfPosition(float radius, Vector3 position);</syntaxhighlight> '''Required Arguments''' *'''r...") |
No edit summary |
||
| Line 1: | Line 1: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="C#" >List< | <syntaxhighlight lang="C#" >List<Player> NAPI.Player.GetPlayersInRadiusOfPosition(float radius, Vector3 position);</syntaxhighlight> | ||
'''Required Arguments''' | '''Required Arguments''' | ||
| Line 6: | Line 6: | ||
*'''position:''' parameter input should be in '''Vector3''' type. | *'''position:''' parameter input should be in '''Vector3''' type. | ||
'''NOTE:''' This function returns data in '''List< | '''NOTE:''' This function returns data in '''List<Player>''' type. | ||
==Usage example(s)== | ==Usage example(s)== | ||
Latest revision as of 21:50, 22 December 2022
Syntax
List<Player> NAPI.Player.GetPlayersInRadiusOfPosition(float radius, Vector3 position);
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
NAPI.Player.GetPlayersInRadiusOfPosition(radius, position);