FREE TOOL · TaskPlayAnim
Animation flags calculator
Build the flag value for TaskPlayAnim. All 31 documented flags with what each one does, the combinations people actually use, and the snippet filled in.
31 documented — every row says which it is. Names from the FiveM native docs — TASK_PLAY_ANIM.
00000000000000000000000000000000
local dict = "amb@world_human_smoking@male@male_a@idle_a"
RequestAnimDict(dict)
while not HasAnimDictLoaded(dict) do
Wait(0)
end
-- Flag 0. Playback rate 1.0 — the native documents 0.0 to 1.0, and 0.0
-- is a common way to end up with a clip that never moves.
TaskPlayAnim(PlayerPedId(), dict, "idle_a", 8.0, -8.0, -1, 0, 1.0, false, false, false)
RemoveAnimDict(dict)QUESTIONS
About animation flags calculator
What is the difference between 1 and 49?
Is there a cancelable flag?
Why does my animation not move at all?
MORE
The other calculators
Tick the behaviours you want and get the driving style value for TaskVehicleDriveToCoord, TaskVehicleDriveWander and SetDriveTaskDrivingStyle — with the seven bits nobody has documented marked as exactly that.
Warning screen buttonsBuild the instructional-button value for SetWarningMessage. Ten bits are in the published enum and labelled; the other twenty are guesses or unknown.
All the free toolsThe map, the animation and cutscene lists, and every reference table.
ALSO FREE
Tools that go with this one
Picked because they touch the same files, natives or part of the game.