Make the character keep walking even if he is eating

Hello!

Recently I saw on a server that when you ate or drank you could keep walking the character did not stop, he could even eat running and everything

On my server, when I give the inventory and select a food or drink, even if I have pressed the button w to walk the weighing it is stopped, until the animation ends

Would it be possible to make him not stand still?

i am using ESX

Here I leave you the code just add the animation and animation time.

TaskPlayAnim(playerPed, ‘anim’, ‘blip’, 8.0, -8, timehere, 49, 0, 0, 0, 0)

So obviously you will be using this native TaskPlayAnim() and you will fill out your parameters. So it looks like this TaskPlayAnim("PlayerPedId(), "animDict", "animName", 8.0, -8, length_here, flag_here, false, false, false, false), all you need to change for character control is the flag. Here is some info on the flag from the native post.

Odd number : loop infinitely Even number : Freeze at last frame Multiple of 4: Freeze at last frame but controllable 01 to 15 > Full body 10 to 31 > Upper body 32 to 47 > Full body > Controllable 48 to 63 > Upper body > Controllable

Thank you very much to both of you :blush: @LX_Creations @Karenciitalove1

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.