GetPackPosition

Syntax

native DataPackPos:GetPackPosition(DataPack:pack);

Usage

pack
Datapack handle

Description

Returns the datapack read/write position.

Return

Position in the datapack, only usable with calls to SetPackPosition

Error

If an invalid handle is provided, an error will be thrown.