mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 17:28:53 +00:00
Removed some never used streaming helpers
This commit is contained in:
@@ -28,20 +28,6 @@ function ESX.Streaming.RequestStreamedTextureDict(textureDict, cb)
|
||||
end
|
||||
end
|
||||
|
||||
function ESX.Streaming.RequestPtfxAsset(assetName, cb)
|
||||
if not HasPtfxAssetLoaded(assetName) then
|
||||
RequestPtfxAsset(assetName)
|
||||
|
||||
while not HasPtfxAssetLoaded(assetName) do
|
||||
Citizen.Wait(1)
|
||||
end
|
||||
end
|
||||
|
||||
if cb ~= nil then
|
||||
cb()
|
||||
end
|
||||
end
|
||||
|
||||
function ESX.Streaming.RequestNamedPtfxAsset(assetName, cb)
|
||||
if not HasNamedPtfxAssetLoaded(assetName) then
|
||||
RequestNamedPtfxAsset(assetName)
|
||||
@@ -97,17 +83,3 @@ function ESX.Streaming.RequestWeaponAsset(weaponHash, cb)
|
||||
cb()
|
||||
end
|
||||
end
|
||||
|
||||
function ESX.Streaming.RequestClipSet(clipSet, cb)
|
||||
if not HasClipSetLoaded(clipSet) then
|
||||
RequestClipSet(clipSet)
|
||||
|
||||
while not HasClipSetLoaded(clipSet) do
|
||||
Citizen.Wait(1)
|
||||
end
|
||||
end
|
||||
|
||||
if cb ~= nil then
|
||||
cb()
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user