TASK PLAY ANIM FACIAL

From GTAMods Wiki
Revision as of 01:37, 20 March 2015 by FL1K3R (talk | contribs) (Created page with "{{Native |np=7 |p1t=int |p1d=The handle of the ped |p2t=char pointer |p2d=The animation's name |p3t=char pointer |p3d=The animation's set/group name |p4t=float |p4d=Playback s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.....)