native

ArraySwap

Syntax

native ArraySwap(Array:which, item1, item2);

Description

Swaps the position of two items.

Parameters

which The array that contains the items.
item1 The first item to swap.
item2 The second item to swap.