mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 18:58:54 +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
|
elseif Action.action == "return" then
|
||||||
SelectCharacterMenu(Characters, slots)
|
SelectCharacterMenu(Characters, slots)
|
||||||
end
|
end
|
||||||
end, nil, true)
|
end, nil, false)
|
||||||
end
|
end
|
||||||
|
|
||||||
function SelectCharacterMenu(Characters, slots)
|
function SelectCharacterMenu(Characters, slots)
|
||||||
@@ -212,7 +212,7 @@ if ESX.GetConfig().Multichar then
|
|||||||
SetPedAoBlobRendering(playerPed, true)
|
SetPedAoBlobRendering(playerPed, true)
|
||||||
ResetEntityAlpha(playerPed)
|
ResetEntityAlpha(playerPed)
|
||||||
end
|
end
|
||||||
end, nil, true)
|
end, nil, false)
|
||||||
end
|
end
|
||||||
RegisterNetEvent('esx_multicharacter:SetupUI')
|
RegisterNetEvent('esx_multicharacter:SetupUI')
|
||||||
AddEventHandler('esx_multicharacter:SetupUI', function(data, slots)
|
AddEventHandler('esx_multicharacter:SetupUI', function(data, slots)
|
||||||
|
|||||||
Reference in New Issue
Block a user