refactor(config): Remove redundant values from being stored on server

This commit is contained in:
Linden
2021-10-26 00:19:49 +11:00
parent 8255fa2014
commit 4f3ce99e94
2 changed files with 118 additions and 113 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ if ESX.GetConfig().Multichar then
if NetworkIsPlayerActive(PlayerId()) then
exports.spawnmanager:setAutoSpawn(false)
DoScreenFadeOut(0)
while not GetResourceState('esx_menu_default') == 'started' do
while not GetResourceState('esx_menu_default') == 'started' do
Citizen.Wait(0)
end
TriggerEvent("esx_multicharacter:SetupCharacters")
@@ -139,7 +139,7 @@ if ESX.GetConfig().Multichar then
character = Characters[spawned]
})
end
RegisterNetEvent('esx_multicharacter:SetupUI')
AddEventHandler('esx_multicharacter:SetupUI', function(data, slots)
DoScreenFadeOut(0)