Hello, I was wondering if there is multiple solutions to put the hands up.
Now, i’m using this function:
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if IsControlPressed(1, 323) then --Start holding X
TaskHandsUp(GetPlayerPed(-1), 1000, GetPlayerPed(-1), -1, true) -- Perform animation.
end
end
end)
TaskHandsUp(); <- this one here.
The problem is that this function is playing facing north. (0 degree)
So, I think I could use TaskPlayAnimAdvanced(p0, animDict, animName, posX, posY, posZ, rotX, rotY, rotZ, speed, speedMultiplier, duration, flag, animTime, p14, p15))
, but I don’t know how to use it and what are the args to use.
Can someone help me ?
Thanks