diff --git a/functions.lua b/functions.lua index 3ceddaf..f2cfb9a 100644 --- a/functions.lua +++ b/functions.lua @@ -29,7 +29,7 @@ function pairsByKeys(t) local a = {} for n in pairs(t) do a[#a+1] = n end table. function playAnim(animDict, animName, duration, flag, ped) loadAnimDict(animDict) - TaskPlayAnim(ped and ped or PlayerPedId(), animDict, animName, 1.0, -1.0, duration or 30000, flag or 50, 1, false, false, false) + TaskPlayAnim(ped and ped or PlayerPedId(), animDict, animName, 8.0, -8.0, duration or 30000, flag or 50, 1, false, false, false) end function stopAnim(animDict, animName) diff --git a/version.txt b/version.txt index ee90284..72d1562 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.4 +1.0.3 diff --git a/wrapper.lua b/wrapper.lua index 143d34d..01eba4b 100644 --- a/wrapper.lua +++ b/wrapper.lua @@ -767,6 +767,7 @@ function createInput(title, opts) options[i] = { type = "input", label = opts[i].text ..(opts[i].txt and " - "..opts[i].txt or ""), + default = opts[i].default, isRequired = opts[i].isRequired, } end