Signature
native ResetPack(DataPack:pack, bool:clear = false);
Description
Resets the datapack read/write position to the start.
Parameters
- pack — Datapack handle
- clear — If true, clears the contained data
No return value
Errors
- If an invalid handle is provided, an error will be thrown.