Workshop.codes
Create

Array Slice Last updated November 26, 2024

Description

A copy of the specified array containing only values from a specified index range.

Snippet

Array Slice(All Players(All Teams), 0, 0);

Properties

Returns: Array (Object)
Parameters: Array, Start Index, Count

Array
Type: Array (Object), Default: All Players
The array from which to make a copy.

Start Index
Type: Integer, Default: Number
The first index of the range.

Count
Type: Integer, Default: Number
The number of elements in the resulting array. The resulting array will contain fewer elements if the specified range exceeds the bounds of the array.

Workshop.codes