GetAllPlayersInBox

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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__