mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 17:28:53 +00:00
Fix callback triggering to early
This commit is contained in:
@@ -91,6 +91,10 @@ end)
|
||||
|
||||
AddEventHandler('skinchanger:modelLoaded', function()
|
||||
|
||||
while not PlayerLoaded do
|
||||
Citizen.Wait(0)
|
||||
end
|
||||
|
||||
-- Restore loadout
|
||||
ESX.TriggerServerCallback('esx:getPlayerData', function(data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user