Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

Commit

Permalink
tweak(client): Always wait 200ms after esx_menu_default has started
Browse files Browse the repository at this point in the history
  • Loading branch information
thelindat authored Jun 26, 2021
1 parent 482139a commit 11dc502
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ if ESX.GetConfig().Multichar then
Citizen.Wait(5)
DoScreenFadeOut(0)
while not GetResourceState('esx_menu_default') == 'started' do
Citizen.Wait(100)
Citizen.Wait(0)
end
Citizen.Wait(200)
TriggerServerEvent("esx_multicharacter:SetupCharacters")
TriggerEvent("esx_multicharacter:SetupCharacters")
break
Expand Down

0 comments on commit 11dc502

Please sign in to comment.