mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01:00
fix(resource/streaming): use correct variable names
This commit is contained in:
@@ -44,7 +44,7 @@ function lib.requestStreamedTextureDict(dict)
|
|||||||
if HasStreamedTextureDictLoaded(dict) then return true end
|
if HasStreamedTextureDictLoaded(dict) then return true end
|
||||||
RequestStreamedTextureDict(dict)
|
RequestStreamedTextureDict(dict)
|
||||||
if hasLoaded(HasStreamedTextureDictLoaded, dict) then return true end
|
if hasLoaded(HasStreamedTextureDictLoaded, dict) then return true end
|
||||||
print(('Unable to load texture dict after 20 ticks (%s)'):format(name))
|
print(('Unable to load texture dict after 20 ticks (%s)'):format(dict))
|
||||||
end
|
end
|
||||||
|
|
||||||
---@param fxName string
|
---@param fxName string
|
||||||
@@ -53,5 +53,5 @@ function lib.requestNamedPtfxAsset(fxName)
|
|||||||
if HasNamedPtfxAssetLoaded(fxName) then return true end
|
if HasNamedPtfxAssetLoaded(fxName) then return true end
|
||||||
RequestNamedPtfxAsset(fxName)
|
RequestNamedPtfxAsset(fxName)
|
||||||
if hasLoaded(RequestNamedPtfxAsset, fxName) then return true end
|
if hasLoaded(RequestNamedPtfxAsset, fxName) then return true end
|
||||||
print(('Unable to load named ptfx after 20 ticks (%s)'):format(name))
|
print(('Unable to load named ptfx after 20 ticks (%s)'):format(fxName))
|
||||||
end
|
end
|
||||||
Reference in New Issue
Block a user