TASK PLAY ANIM NON INTERRUPTABLE

From GTAMods Wiki
Revision as of 17:12, 18 March 2015 by FL1K3R (talk | contribs) (Created page with "{{Native |np=9 |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_NON_INTERRUPTABLE
Number of parameters: 9
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
5.boolflag 1
6.boolflag 2
7.boolflag 3
8.boolflag 4
9.intunknown (always -1)
Return value:
TypeDescription
None

This native make the ped play anim with no interrupt and disables the player control till the anim will end. In NET play - seen for everybody.
Flags is the same to other 'Anim flags' (anyway, see an examples below)

Flags

The following table lists the observed effect of each flag when they are set to true.

Flag Observed effect
1 Loops the animation infinitely.
2 Loops the animation infinitely, disables player movement but not player control.
3 Unknown.
4 Freezes the last frame of the anim.