SetPackPosition

Синтаксис

native SetPackPosition(DataPack:pack, DataPackPos:position);

Употреба

pack
Datapack handle
position
New position to set

Описание

Sets the datapack read/write position.

Забележка

This should only ever be used with (known to be valid) positions
returned by GetPackPosition(). It is not possible for plugins to safely
compute datapack positions.

Връщаща стойност

Тази функция няма връщаща стойност.

Грешка

If an invalid handle is provided, or the new position is
out of datapack bounds, an error will be thrown.