mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-28 23:01:26 +00:00
Update Multicharacter to fix issue of closing context menu
This commit is contained in:
@@ -164,7 +164,7 @@ if ESX.GetConfig().Multichar then
|
||||
elseif Action.action == "return" then
|
||||
SelectCharacterMenu(Characters, slots)
|
||||
end
|
||||
end, nil, true)
|
||||
end, nil, false)
|
||||
end
|
||||
|
||||
function SelectCharacterMenu(Characters, slots)
|
||||
@@ -212,7 +212,7 @@ if ESX.GetConfig().Multichar then
|
||||
SetPedAoBlobRendering(playerPed, true)
|
||||
ResetEntityAlpha(playerPed)
|
||||
end
|
||||
end, nil, true)
|
||||
end, nil, false)
|
||||
end
|
||||
RegisterNetEvent('esx_multicharacter:SetupUI')
|
||||
AddEventHandler('esx_multicharacter:SetupUI', function(data, slots)
|
||||
|
||||
Reference in New Issue
Block a user