mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 05:56:02 +01:00
speed playAnim up + add default input message
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.0.4
|
||||
1.0.3
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user