TASK PLAY ANIM NON INTERRUPTABLE
Jump to navigation
Jump to search
Number of parameters: 9 | ||
---|---|---|
Parameter # | Type | Description |
1. | int | The handle of the ped |
2. | char pointer | The animation's name |
3. | char pointer | The animation's set/group name |
4. | float | Playback speed |
5. | bool | flag 1 |
6. | bool | flag 2 |
7. | bool | flag 3 |
8. | bool | flag 4 |
9. | int | unknown (always -1) |
Return value: | ||
Type | Description | |
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. |