cui_character icon indicating copy to clipboard operation
cui_character copied to clipboard

New functions interfering with Config.StandAlone=True option

Open Dementore711 opened this issue 4 years ago • 0 comments

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.

Dementore711 avatar Sep 13 '21 19:09 Dementore711