Description
Returns a copy of a specified array with all duplicate values removed, preserving only the first occurrence of each unique element. The relative order of remaining elements is maintained. Useful for deduplicating player lists, tag sets, or any array that may accumulate repeated entries over time.
Snippet
Array Unique(Global.TaggedPlayers);
Properties
Returns: Array
Parameters: Array
Array
Type: Array, Default: Empty Array
The array from which duplicate values will be removed.