ArraySwap
Syntax
native ArraySwap(Array:which, item1, item2);
Usage
| Parameter | Description |
|---|---|
| which | Array handle |
| item1,item2 | Item pair to swap |
Description
Swaps the position of two items.
Return
This function has no return value.
Error
If an invalid handle or an invalid index is provided an error will be thrown.