GetSequenceInfo
Syntax
native bool:GetSequenceInfo(const entity, &piFlags, &Float:pflFrameRate, &Float:pflGroundSpeed);
Usage
| Parameter | Description |
|---|---|
| entity | Entity index |
| piFlags | Sequence flags (1 = sequence loops) |
| pflFrameRate | Sequence framerate |
| pflGroundSpeed | Sequence ground speed |
Description
Gets sequence information based on entity's model current sequence index
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.