Signature
native ArraySwap(Array:which, item1, item2);
Description
Swaps the position of two items.
Parameters
- which — Array handle
- item1 — Item pair to swap
- item2 — Item pair to swap
No return value
Errors
-
If an invalid handle or an invalid index is provided an
error will be thrown.