An advanced character and clothes editor for esx framework that aims to be comfortable to use, hide complexity and blend in with original GTA V interface elements.
73
stars
47
forks
source link
New functions interfering with Config.StandAlone=True option #55
line39:
function PreparePlayer()
-- if ESX.GetConfig().Multichar then
-- isPlayerReady = true
-- return
-- end
line286:
-- if ESX.GetConfig().Multichar then
-- RegisterNetEvent('esx_multicharacter:SetupUI')
-- AddEventHandler('esx_multicharacter:SetupUI', function(data)
-- if next(data) == nil or (data.current and data.current.new) then
-- firstCharacter = true
-- else
-- firstCharacter = false
-- end
-- end)
-- end
The commented out portions throw error if Config.StandAlone=True as ESX is set as a null value and it cant be indexed. If I comment out as above cui menu opens. Kindly fix.
line39: function PreparePlayer() -- if ESX.GetConfig().Multichar then -- isPlayerReady = true -- return -- end
line286: -- if ESX.GetConfig().Multichar then -- RegisterNetEvent('esx_multicharacter:SetupUI') -- AddEventHandler('esx_multicharacter:SetupUI', function(data) -- if next(data) == nil or (data.current and data.current.new) then -- firstCharacter = true -- else -- firstCharacter = false -- end -- end) -- end
The commented out portions throw error if Config.StandAlone=True as ESX is set as a null value and it cant be indexed. If I comment out as above cui menu opens. Kindly fix.