Merge pull request #395 from darknight2590/patch-12

add RequestModel
This commit is contained in:
Kakarot
2022-01-06 19:54:32 -06:00
committed by GitHub
+7
View File
@@ -89,6 +89,13 @@ function QBCore.Functions.RequestAnimDict(animDict)
end
end
function QBCore.Functions.LoadModel(ModelName)
RequestModel(ModelName)
while not HasModelLoaded(ModelName) do
Wait(100)
end
end
RegisterNUICallback('getNotifyConfig', function(_, cb)
cb(QBCore.Config.Notify)
end)