native lookup_sequence(entity, const name, &Float:framerate = 0.0, &bool:loops = false, &Float:groundspeed = 0.0);
The entity id to lookup.
The sequence name to lookup, case insensitive. ("JUMP" would match "jump")
The framerate of the sequence, if found.
Whether or not the sequence loops.
The groundspeed setting of the sequence.
Looks up the sequence for the entity.
-1 on failed lookup, the sequence number on successful lookup.