lookup_sequence

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

Looks up the sequence for the entity.

Parameters
  • 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.
Returns

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

Назад
Верх