lookup_sequence

Синтаксис

native lookup_sequence(entity, const name[], &Float:framerate = 0.0, &bool:loops = false, &Float:groundspeed = 0.0);

Употреба

entity
The entity id to lookup.
name
The sequence name to lookup, case insensitive. ("JUMP" would match "jump")
framerate
The framerate of the sequence, if found.
loops
Whether or not the sequence loops.
groundspeed
The groundspeed setting of the sequence.

Описание

Looks up the sequence for the entity.

Връщаща стойност

-1 on failed lookup, the sequence number on successful lookup.