TASK PLAY ANIM FACIAL

From GTAMods Wiki
Jump to navigation Jump to search
TASK_PLAY_ANIM_FACIAL
Number of parameters: 7
Parameter #TypeDescription
1.intThe handle of the ped
2.char pointerThe animation's name
3.char pointerThe animation's set/group name
4.floatPlayback speed (always 1.00001 like in original .sco)
5.boolflag 1
6.boolflag 2
7.intunknown (always -1)
Return value:
TypeDescription
None


Description


Makes ped play an animation with only his/her face (aka emotions)
It`s tested only with 'facials@m_lo' and 'facials@f_lo' - for male and female characters accordingly.
Animation libraries must be loaded first (just like other TASK_PLAY_ANIM.....)