GetAllPlayersInBox

From Onset Developer Wiki
Revision as of 19:53, 30 August 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetAllPlayersInBox

Type: Function
Context: Client
Introduced: v1.0

Description

Gets a table of players that are inside a specific box area.

Syntax

GetAllPlayersInBox(x, y, z, bx, by, bz [, bIncludeSelf])

Parameters

  • x
    The box X location.
  • y
    The box Y location.
  • z
    The box Z location.
  • bx
    The box X extent.
  • by
    The box Y extent.
  • bz
    The box Z extent.
  • bIncludeSelf (optional)
    Whether to check for the local player as well, default: true

Return Value

  • Returns a table with player identifiers as value.

Example

__EDIT_ME__

See also

__EDIT_ME__