Get player owned vehicles added for esx/qb/qbx/nd

This commit is contained in:
MrNewb committed 2025-02-03 10:26:05 -05:00
1 parent cb1bba700f
commit a08c22afed
5 files changed
+67 -9

No files matched your search

+10
View File
@@ -176,6 +176,16 @@ Utility.NotifyText = function(text)
DrawNotification(false, true)
end
Utility.RequestAnimDict = function(dict)
RequestAnimDict(dict)
local count = 0
while not HasAnimDictLoaded(dict) and count < 30000 do
Wait(0)
count = count + 1
end
return HasAnimDictLoaded(dict)
end
Utility.TeleportPlayer = function(coords, conditionFunction, afterTeleportFunction)
if conditionFunction ~= nil then
if not conditionFunction() then