TASK

TASK_PLAY_ANIM_ADVANCED

0x83CDB10EA29B370B Jenkins: 0x3DDEB0E6

Signature

// TASK
void TASK_PLAY_ANIM_ADVANCED(Ped ped, const char* animDict, const char* animName, float posX, float posY, float posZ, float rotX, float rotY, float rotZ, float animEnterSpeed, float animExitSpeed, int duration, Any flag, float animTime, int rotOrder, int ikFlags)

Parameters

Type Name
Ped ped
const char* animDict
const char* animName
float posX
float posY
float posZ
float rotX
float rotY
float rotZ
float animEnterSpeed
float animExitSpeed
int duration
Any flag
float animTime
int rotOrder
int ikFlags

Return type void

Build 323

Documentation

It's similar to TASK_PLAY_ANIM, except the first 6 floats let you specify the initial position and rotation of the task. (Ped gets teleported to the position). Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.