tweak(ESX): Added RemoveAnimDict after TaskPlayAnim

This commit is contained in:
badfantomasss
2022-06-05 21:17:41 +02:00
parent 089f2e1c4f
commit 12487a07e2
8 changed files with 12 additions and 0 deletions
+1
View File
@@ -3,6 +3,7 @@ local function Progressbar(message,length,Options)
if Options.animation.type == "anim" then
ESX.Streaming.RequestAnimDict(Options.animation.dict, function()
TaskPlayAnim(ESX.PlayerData.ped, Options.animation.dict, Options.animation.lib, 1.0, 1.0, length, 1, 1.0, false,false,false)
RemoveAnimDict(Options.animation.dict)
end)
end
end