GetClientsInRange

Last Updated2019-11-13
Created At2014-12-30

Find clients that are potentially in range of a position.

native int GetClientsInRange(const float origin[3], ClientRangeType rangeType, int[] clients, int size)

Parameters

const float[3] origin
Coordinates from which to test range.
ClientRangeType rangeType
Range type to use for filtering clients.
int[] clients
Array to which found client indexes will be written.
int size
Maximum size of clients array.

Return Value

int Number of client indexes written to clients array.