Hi, can you help me?
I want this animation to start and stop at 5 seconds and at 10 seconds to return the animation
function animacion(source)
setPedAnimation( source, "ped", "gas_cwr")
setTimer(pararanim,5000,1)
end
addCommandHandler ("toxic", animacion)
function pararanim(tp)
setPedAnimation(tp,false)
setTimer(animacion,3000,1)
end
addCommandHandler ("parar", pararanim)
setPedAnimation( source, "GANGS", "prtial_gngtlkB", 1, false, true, true, true, false )
setTimer(function()
setPedAnimation(source, false)
end, 1000, 1)
Try doing it with timers but not for animation