mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
fix(client/progress): playEnter arg for scenarios in progress bar (#671)
This commit is contained in:
@@ -74,7 +74,7 @@ local function startProgress(data)
|
||||
TaskPlayAnim(cache.ped, anim.dict, anim.clip, anim.blendIn or 3.0, anim.blendOut or 1.0, anim.duration or -1, anim.flag or 49, anim.playbackRate or 0, anim.lockX, anim.lockY, anim.lockZ)
|
||||
RemoveAnimDict(anim.dict)
|
||||
elseif anim.scenario then
|
||||
TaskStartScenarioInPlace(cache.ped, anim.scenario, 0, anim.playEnter ~= nil and anim.playEnter or true)
|
||||
TaskStartScenarioInPlace(cache.ped, anim.scenario, 0, anim.playEnter == nil or anim.playEnter)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user