native

GetSequenceInfo

Syntax

native bool:GetSequenceInfo(const entity, &piFlags, &Float:pflFrameRate, &Float:pflGroundSpeed);

Description

Gets sequence information based on entity's model current sequence index

Parameters

entity Entity index
piFlags Sequence flags (1 = sequence loops)
pflFrameRate Sequence framerate
pflGroundSpeed Sequence ground speed

Return

True on success, false otherwise

Error

If the index is not within the range of 1 to maxEntities or
the entity is not valid, an error will be thrown.