IsPackEnded

Syntax

native bool:IsPackEnded(DataPack:pack);

Usage

pack
Datapack handle

Description

Returns if the datapack has reached its end and no more data can be read.

Return

True if datapack has reached the end, false otherwise

Error

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