Signature
native SetPackPosition(DataPack:pack, DataPackPos:position);
Description
Sets the datapack read/write position.
Notes
-
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.
Parameters
- pack — Datapack handle
- position — New position to set
No return value
Errors
-
If an invalid handle is provided, or the new position is
out of datapack bounds, an error will be thrown.