mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-18 01:58:36 +00:00
1 parent
77fb9cf637
commit
a45584ac78
1 file changed
-9
@@ -1,9 +0,0 @@
|
||||
---Loads an anim dictionary if it has not been loaded.
|
||||
---Invalid anim dictionaries will never return.
|
||||
---@param dict string
|
||||
return function(dict)
|
||||
if not HasAnimDictLoaded(dict) then
|
||||
RequestAnimDict(dict)
|
||||
repeat Wait(0) until HasAnimDictLoaded(dict)
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user